summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/panic/double_panic.stderr
blob: 8e008da75ee875b65a9d2352c6145638820472ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
first
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
second
stack backtrace:
error: abnormal termination: panic in a function that cannot unwind
  --> $DIR/double_panic.rs:LL:CC
   |
LL | / fn main() {
LL | |
LL | |     let _foo = Foo;
LL | |     panic!("first");
LL | | }
   | |_^ panic in a function that cannot unwind
   |
   = note: inside `main` at $DIR/double_panic.rs:LL:CC

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to previous error