Rollup merge of #139767 - compiler-errors:www, r=oli-obk
Visit place in `BackwardIncompatibleDropHint` statement Remove a weird hack from the `LocalUpdater` where we were manually visiting the place stored in a `StatementKind::BackwardIncompatibleDropHint` because the MIR visitor impls weren't doing so. Also, clean up `BackwardIncompatibleDropHint`s in `CleanupPostBorrowck`, since they're not needed for runtime MIR.
This commit is contained in:
commit
143f5d7696
8 changed files with 19 additions and 25 deletions
|
@ -73,9 +73,6 @@ fn method_1(_1: Guard) -> () {
|
|||
}
|
||||
|
||||
bb7: {
|
||||
backward incompatible drop(_2);
|
||||
backward incompatible drop(_4);
|
||||
backward incompatible drop(_5);
|
||||
goto -> bb21;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,9 +73,6 @@ fn method_1(_1: Guard) -> () {
|
|||
}
|
||||
|
||||
bb7: {
|
||||
backward incompatible drop(_2);
|
||||
backward incompatible drop(_4);
|
||||
backward incompatible drop(_5);
|
||||
goto -> bb21;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue