No need to export functions only used in the same module
This commit is contained in:
parent
982a9662c5
commit
7181aa1763
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ impl<'tcx> AllocMap<'tcx> {
|
|||
|
||||
/// Freeze an `AllocId` created with `reserve` by pointing it at an `Allocation`. May be called
|
||||
/// twice for the same `(AllocId, Allocation)` pair.
|
||||
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) {
|
||||
self.id_to_kind.insert_same(id, AllocKind::Memory(mem));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue