rust/tests/run-pass/catch_panic.stderr
2019-12-01 11:04:51 +01:00

16 lines
870 B
Plaintext

thread 'main' panicked at 'Hello from panic: std', $DIR/catch_panic.rs:47:21
Caught panic message (&str): Hello from panic: std
thread 'main' panicked at 'Hello from panic: 1', $DIR/catch_panic.rs:48:20
Caught panic message (String): Hello from panic: 1
thread 'main' panicked at 'Hello from panic: 2', $DIR/catch_panic.rs:49:20
Caught panic message (String): Hello from panic: 2
thread 'main' panicked at 'Box<Any>', $DIR/catch_panic.rs:50:21
Failed get caught panic message.
thread 'main' panicked at 'Hello from panic: core', $DIR/catch_panic.rs:52:21
Caught panic message (String): Hello from panic: core
thread 'main' panicked at 'Hello from panic: 5', $DIR/catch_panic.rs:53:20
Caught panic message (String): Hello from panic: 5
thread 'main' panicked at 'Hello from panic: 6', $DIR/catch_panic.rs:54:20
Caught panic message (String): Hello from panic: 6
Success!