rust/tests/run-pass/panic/catch_panic.stderr

20 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: std', $DIR/catch_panic.rs:50:21
2019-11-24 03:24:41 -06:00
Caught panic message (&str): Hello from panic: std
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: 1', $DIR/catch_panic.rs:51:20
2019-11-24 03:24:41 -06:00
Caught panic message (String): Hello from panic: 1
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: 2', $DIR/catch_panic.rs:52:20
2019-11-24 03:24:41 -06:00
Caught panic message (String): Hello from panic: 2
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Box<Any>', $DIR/catch_panic.rs:53:21
2019-11-24 03:51:48 -06:00
Failed get caught panic message.
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: core', $DIR/catch_panic.rs:56:21
2019-11-28 12:17:43 -06:00
Caught panic message (String): Hello from panic: core
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: 5', $DIR/catch_panic.rs:57:20
2019-11-28 12:17:43 -06:00
Caught panic message (String): Hello from panic: 5
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'Hello from panic: 6', $DIR/catch_panic.rs:58:20
2019-11-28 12:17:43 -06:00
Caught panic message (String): Hello from panic: 6
2019-11-29 04:19:15 -06:00
thread 'main' panicked at 'index out of bounds: the len is 3 but the index is 4', $DIR/catch_panic.rs:61:34
Caught panic message (String): index out of bounds: the len is 3 but the index is 4
thread 'main' panicked at 'attempt to divide by zero', $DIR/catch_panic.rs:62:34
Caught panic message (String): attempt to divide by zero
2019-11-24 03:24:41 -06:00
Success!