@@ -3,27 +3,41 @@ warning: You have explicitly enabled MIR optimizations, overriding Miri's defaul
3
3
thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
4
4
explicit panic
5
5
note: 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`
7
24
--> $DIR/terminate-terminator.rs:LL:CC
8
25
|
9
26
LL | / fn has_cleanup() {
10
- LL | |
11
27
LL | | let _f = Foo;
12
28
LL | | panic!();
13
29
LL | | }
14
- | |_^ panic in a function that cannot unwind
15
- |
16
- = note: inside `has_cleanup` at $DIR/terminate-terminator.rs:LL:CC
30
+ | |_^
17
31
note: inside `panic_abort`
18
32
--> $DIR/terminate-terminator.rs:LL:CC
19
33
|
20
34
LL | has_cleanup();
21
- | ^^^^^^^^^^^^ ^
35
+ | ^
22
36
note: inside `main`
23
37
--> $DIR/terminate-terminator.rs:LL:CC
24
38
|
25
39
LL | panic_abort();
26
- | ^^^^^^^^^^^^ ^
40
+ | ^
27
41
28
42
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
29
43
0 commit comments