Actually keep PlaceMention
if requested.
This commit is contained in:
parent
ddfa2463e2
commit
2870d269f5
12 changed files with 45 additions and 23 deletions
|
@ -582,10 +582,9 @@ impl WriteInfo {
|
|||
| StatementKind::Nop
|
||||
| StatementKind::Coverage(_)
|
||||
| StatementKind::StorageLive(_)
|
||||
| StatementKind::StorageDead(_) => (),
|
||||
StatementKind::FakeRead(_)
|
||||
| StatementKind::AscribeUserType(_, _)
|
||||
| StatementKind::PlaceMention(_) => {
|
||||
| StatementKind::StorageDead(_)
|
||||
| StatementKind::PlaceMention(_) => (),
|
||||
StatementKind::FakeRead(_) | StatementKind::AscribeUserType(_, _) => {
|
||||
bug!("{:?} not found in this MIR phase", statement)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue