rust/tests/run-pass/catch_panic.stderr
2019-11-24 10:51:48 +01:00

10 lines
486 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.
Success!