From e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 16 Sep 2019 11:34:27 +0200 Subject: [PATCH] rename Allocation::retag -> with_tags_and_extra --- src/librustc/mir/interpret/allocation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,