diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2022-01-04 16:10:14 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2022-01-04 16:10:14 +0100 |
| commit | f5217792ed0dbf132174250ea81ca2e3dd7b60f1 (patch) | |
| tree | eeb605e67aeae16205eba190089b16c677aac667 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | da33da161bf01093bc87e0cdff317d40bd648974 (diff) | |
| download | rust-f5217792ed0dbf132174250ea81ca2e3dd7b60f1.tar.gz rust-f5217792ed0dbf132174250ea81ca2e3dd7b60f1.zip | |
Simplify panicking mechanism of thread::scope.
It now panic!()s on its own, rather than resume_unwind'ing the panic payload from the thread. Using resume_unwind skips the panic_handler, meaning that the main thread would never have a panic handler run, which can get confusing.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
