From e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 16 Sep 2019 11:34:27 +0200 Subject: [PATCH 1/2] 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 755cda792ba79..15e6cb6bcabae 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, From 686170e87de3493e86fee3a74e10263026fabbbb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 17 Sep 2019 12:31:49 +0200 Subject: [PATCH 2/2] update miri --- src/tools/miri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/miri b/src/tools/miri index d88138723780d..130f9488d3b86 160000 --- a/src/tools/miri +++ b/src/tools/miri @@ -1 +1 @@ -Subproject commit d88138723780d11ca2c09560111223dc20b9d5f3 +Subproject commit 130f9488d3b861e02c9282b686eec717e30912cf