mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
Bug on PlaceMention in dest-prop.
This commit is contained in:
parent
45f2a1af3b
commit
09dc10c9c2
@ -581,10 +581,11 @@ impl WriteInfo {
|
||||
| StatementKind::ConstEvalCounter
|
||||
| StatementKind::Nop
|
||||
| StatementKind::Coverage(_)
|
||||
| StatementKind::PlaceMention(_)
|
||||
| StatementKind::StorageLive(_)
|
||||
| StatementKind::StorageDead(_) => (),
|
||||
StatementKind::FakeRead(_) | StatementKind::AscribeUserType(_, _) => {
|
||||
StatementKind::FakeRead(_)
|
||||
| StatementKind::AscribeUserType(_, _)
|
||||
| StatementKind::PlaceMention(_) => {
|
||||
bug!("{:?} not found in this MIR phase", statement)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user