@@ -3,27 +3,41 @@ warning: You have explicitly enabled MIR optimizations, overriding Miri's defaul
33thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
44explicit panic
55note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6- error: abnormal termination: panic in a function that cannot unwind
6+ thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
7+ panic in a function that cannot unwind
8+ stack backtrace:
9+ thread caused non-unwinding panic. aborting.
10+ error: abnormal termination: the program aborted execution
11+ --> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
12+ |
13+ LL | ABORT();
14+ | ^ the program aborted execution
15+ |
16+ = note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
17+ = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
18+ = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
19+ = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
20+ = note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
21+ = note: inside `core::panicking::panic_nounwind` at RUSTLIB/core/src/panicking.rs:LL:CC
22+ = note: inside `core::panicking::panic_cannot_unwind` at RUSTLIB/core/src/panicking.rs:LL:CC
23+ note: inside `has_cleanup`
724 --> $DIR/terminate-terminator.rs:LL:CC
825 |
926LL | / fn has_cleanup() {
10- LL | |
1127LL | | let _f = Foo;
1228LL | | panic!();
1329LL | | }
14- | |_^ panic in a function that cannot unwind
15- |
16- = note: inside `has_cleanup` at $DIR/terminate-terminator.rs:LL:CC
30+ | |_^
1731note: inside `panic_abort`
1832 --> $DIR/terminate-terminator.rs:LL:CC
1933 |
2034LL | has_cleanup();
21- | ^^^^^^^^^^^^ ^
35+ | ^
2236note: inside `main`
2337 --> $DIR/terminate-terminator.rs:LL:CC
2438 |
2539LL | panic_abort();
26- | ^^^^^^^^^^^^ ^
40+ | ^
2741
2842note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
2943
0 commit comments