pub fn unwrap_memory(&self, id: AllocId) -> &'tcx Allocation {
        match self.get(id) {
            Some(AllocKind::Memory(mem)) => mem,
            _ => bug!("expected allocation id {} to point to memory", id),
        }
    }
/// Panics if the `AllocId` does not refer to an `Allocation`
Panics if the `AllocId` does not refer to an `Allocation`
Panics if the ` AllocId ` does not refer to an ` Allocation `
pub fn unwrap_memory(&self, id: AllocId) -> &'tcx Allocation {
        match self.get(id) {
            Some(AllocKind::Memory(mem)) => mem,
            _ => bug!("expected allocation id {} to point to memory", id),
        }
    }
pub fn unwrap_memory ( & self , id : AllocId ) -> & ' tcx Allocation { match self . get ( id ) { Some ( AllocKind :: Memory ( mem ) ) => mem , _ => bug ! ( " " id ) , } }
Panics if the `AllocId` does not refer to an `Allocation`
Panics if the ` AllocId ` does not refer to an ` Allocation `
&self
id
AllocId
&self
id
AllocId