diff options
| author | Ralf Jung <post@ralfj.de> | 2019-09-16 11:34:27 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-09-17 09:29:06 +0200 |
| commit | e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428 (patch) | |
| tree | 0aaf1aa6a421e3a7961e2cb6dd63ee1dec7611fc | |
| parent | 5670d048c0f88af9976b5505c7853b23dd06770d (diff) | |
| download | rust-e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428.tar.gz rust-e8d858ef3c52dcbdc7091e5cd19ecca0c36a0428.zip | |
rename Allocation::retag -> with_tags_and_extra
| -rw-r--r-- | src/librustc/mir/interpret/allocation.rs | 4 |
1 files 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<Tag> Allocation<Tag> { } } -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, |
