{"ast_node_type":"function","tokens":[{"end":79,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn set_alloc_id_memory(self, id: AllocId, mem: ConstAllocation<'tcx>) {
    /// call this function twice, even with the same `Allocation` will ICE the compiler.
        if let Some(old) = self.alloc_map.to_alloc.insert(id, GlobalAlloc::Memory(mem)) {