1
Fork 0
rust/compiler/rustc_mir_build/src
bors c97d02cdb5 Auto merge of #102394 - dingxiangfei2009:issue-102317, r=oli-obk
Fix unwind drop glue for if-then scopes

cc `@est31`

Fix #102317
Fix #99852

This PR fixes the drop glue for unwinding from a panic originated in a drop while breaking out for the else block in an `if-then` scope.
MIR validation does not fail for the synchronous versions of the test program, because `StorageDead` statements are skipped over in the unwinding process. It is only becoming a problem when it is inside a generator where `StorageDead` must be kept around.
2022-10-05 20:47:39 +00:00
..
build fix doc and dedup diverge_cleanup 2022-10-05 22:24:12 +08:00
thir Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebank 2022-10-01 10:44:25 +00:00
check_unsafety.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
lints.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00