summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/panic/double_panic.stderr
blob: b6ac56f15d4b5033e28e8977d351408d1a2c9867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
thread 'main' panicked at 'first', $DIR/double_panic.rs:LL:CC
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'second', $DIR/double_panic.rs:LL:CC
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