commit | e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428 | [log] [tgz] |
---|---|---|
author | Ralf Jung <post@ralfj.de> | Mon Sep 16 11:34:27 2019 +0200 |
committer | Ralf Jung <post@ralfj.de> | Tue Sep 17 09:29:06 2019 +0200 |
tree | 0aaf1aa6a421e3a7961e2cb6dd63ee1dec7611fc | |
parent | 5670d048c0f88af9976b5505c7853b23dd06770d [diff] |
rename Allocation::retag -> with_tags_and_extra
diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 755cda7..15e6cb6 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs
@@ -130,9 +130,9 @@ } } -impl Allocation<()> { +impl Allocation<(), ()> { /// Add Tag and Extra fields - pub fn retag<T, E>( + pub fn with_tags_and_extra<T, E>( self, mut tagger: impl FnMut(AllocId) -> T, extra: E,