diff --git a/starlark/src/values/layout/heap/heap_type.rs b/starlark/src/values/layout/heap/heap_type.rs index 0d70c4846..c7c8ffaf9 100644 --- a/starlark/src/values/layout/heap/heap_type.rs +++ b/starlark/src/values/layout/heap/heap_type.rs @@ -893,7 +893,7 @@ impl<'v> Tracer<'v> { /// Helper function to annotate that this field has been considered for tracing, /// but is not relevant because it has a static lifetime containing no relevant values. /// Does nothing. - pub fn trace_static(&self, value: &mut T) { + pub fn trace_static(&self, value: &T) { // Nothing to do because T can't contain the lifetime 'v let _ = value; }