get rid of MemPlaceMeta::Poison
MPlaceTy::dangling still exists, but now it is only called in places that actually conceptually allocate something new, so that's fine.
This commit is contained in:
parent
ca4e39400e
commit
874a130ca0
6 changed files with 12 additions and 21 deletions
|
@ -987,7 +987,7 @@ impl<'a, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> std::fmt::Debug
|
|||
" by {} ref {:?}:",
|
||||
match mplace.meta {
|
||||
MemPlaceMeta::Meta(meta) => format!(" meta({:?})", meta),
|
||||
MemPlaceMeta::Poison | MemPlaceMeta::None => String::new(),
|
||||
MemPlaceMeta::None => String::new(),
|
||||
},
|
||||
mplace.ptr,
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue