about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2022-01-04 16:10:14 +0100
committerMara Bos <m-ou.se@m-ou.se>2022-01-04 16:10:14 +0100
commitf5217792ed0dbf132174250ea81ca2e3dd7b60f1 (patch)
treeeeb605e67aeae16205eba190089b16c677aac667 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parentda33da161bf01093bc87e0cdff317d40bd648974 (diff)
downloadrust-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