diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 755cda792ba..15e6cb6bcab 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -130,9 +130,9 @@ impl Allocation { } } -impl Allocation<()> { +impl Allocation<(), ()> { /// Add Tag and Extra fields - pub fn retag( + pub fn with_tags_and_extra( self, mut tagger: impl FnMut(AllocId) -> T, extra: E,