We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982a966 commit 7181aa1Copy full SHA for 7181aa1
src/librustc/mir/interpret/mod.rs
@@ -404,7 +404,7 @@ impl<'tcx> AllocMap<'tcx> {
404
405
/// Freeze an `AllocId` created with `reserve` by pointing it at an `Allocation`. May be called
406
/// twice for the same `(AllocId, Allocation)` pair.
407
- pub fn set_alloc_id_same_memory(&mut self, id: AllocId, mem: &'tcx Allocation) {
+ fn set_alloc_id_same_memory(&mut self, id: AllocId, mem: &'tcx Allocation) {
408
self.id_to_kind.insert_same(id, AllocKind::Memory(mem));
409
}
410
0 commit comments