Bug on PlaceMention in dest-prop.
This commit is contained in:
parent
45f2a1af3b
commit
09dc10c9c2
1 changed files with 3 additions and 2 deletions
|
@ -581,10 +581,11 @@ impl WriteInfo {
|
||||||
| StatementKind::ConstEvalCounter
|
| StatementKind::ConstEvalCounter
|
||||||
| StatementKind::Nop
|
| StatementKind::Nop
|
||||||
| StatementKind::Coverage(_)
|
| StatementKind::Coverage(_)
|
||||||
| StatementKind::PlaceMention(_)
|
|
||||||
| StatementKind::StorageLive(_)
|
| StatementKind::StorageLive(_)
|
||||||
| StatementKind::StorageDead(_) => (),
|
| StatementKind::StorageDead(_) => (),
|
||||||
StatementKind::FakeRead(_) | StatementKind::AscribeUserType(_, _) => {
|
StatementKind::FakeRead(_)
|
||||||
|
| StatementKind::AscribeUserType(_, _)
|
||||||
|
| StatementKind::PlaceMention(_) => {
|
||||||
bug!("{:?} not found in this MIR phase", statement)
|
bug!("{:?} not found in this MIR phase", statement)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue