Cleanup blocks are declared with `bb (cleanup) = { ... }`.
`Call` and `Drop` terminators take an additional argument describing the
unwind action, which is one of the following:
* `UnwindContinue()`
* `UnwindUnreachable()`
* `UnwindTerminate(reason)`, where reason is `ReasonAbi` or `ReasonInCleanup`
* `UnwindCleanup(block)`
Also support unwind resume and unwind terminate terminators:
* `UnwindResume()`
* `UnwindTerminate(reason)`
|
||
|---|---|---|
| .. | ||
| issue-95978-validator-lifetime-comparison.rs | ||
| needs-reveal-all.rs | ||
| noncleanup-cleanup.rs | ||
| noncleanup-resume.rs | ||
| noncleanup-terminate.rs | ||
| storage-live.rs | ||
| storage-live.stderr | ||
| transmute_cast_sized.rs | ||