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

16 lines
900 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', tests/run-pass/catch_panic.rs:52:21
Caught panic message (String): Hello from panic: core
thread 'main' panicked at 'Hello from panic: 5', tests/run-pass/catch_panic.rs:53:20
Caught panic message (String): Hello from panic: 5
thread 'main' panicked at 'Hello from panic: 6', tests/run-pass/catch_panic.rs:54:20
Caught panic message (String): Hello from panic: 6
Success!