|
1 |
| -thread 'main' panicked at 'Hello from panic: std', $DIR/catch_panic.rs:LL:CC |
| 1 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 2 | +Hello from panic: std |
2 | 3 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
3 | 4 | Caught panic message (&str): Hello from panic: std
|
4 |
| -thread 'main' panicked at 'Hello from panic: 1', $DIR/catch_panic.rs:LL:CC |
| 5 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 6 | +Hello from panic: 1 |
5 | 7 | Caught panic message (String): Hello from panic: 1
|
6 |
| -thread 'main' panicked at 'Hello from panic: 2', $DIR/catch_panic.rs:LL:CC |
| 8 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 9 | +Hello from panic: 2 |
7 | 10 | Caught panic message (String): Hello from panic: 2
|
8 |
| -thread 'main' panicked at 'Box<dyn Any>', $DIR/catch_panic.rs:LL:CC |
| 11 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 12 | +Box<dyn Any> |
9 | 13 | Failed to get caught panic message.
|
10 |
| -thread 'main' panicked at 'Hello from panic: core', $DIR/catch_panic.rs:LL:CC |
| 14 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 15 | +Hello from panic: core |
11 | 16 | Caught panic message (&str): Hello from panic: core
|
12 |
| -thread 'main' panicked at 'Hello from panic: 5', $DIR/catch_panic.rs:LL:CC |
| 17 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 18 | +Hello from panic: 5 |
13 | 19 | Caught panic message (String): Hello from panic: 5
|
14 |
| -thread 'main' panicked at 'index out of bounds: the len is 3 but the index is 4', $DIR/catch_panic.rs:LL:CC |
| 20 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 21 | +index out of bounds: the len is 3 but the index is 4 |
15 | 22 | Caught panic message (String): index out of bounds: the len is 3 but the index is 4
|
16 |
| -thread 'main' panicked at 'attempt to divide by zero', $DIR/catch_panic.rs:LL:CC |
| 23 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 24 | +attempt to divide by zero |
17 | 25 | Caught panic message (&str): attempt to divide by zero
|
18 |
| -thread 'main' panicked at 'align_offset: align is not a power-of-two', RUSTLIB/core/src/ptr/const_ptr.rs:LL:CC |
| 26 | +thread 'main' panicked at RUSTLIB/core/src/ptr/const_ptr.rs:LL:CC: |
| 27 | +align_offset: align is not a power-of-two |
19 | 28 | Caught panic message (&str): align_offset: align is not a power-of-two
|
20 |
| -thread 'main' panicked at 'assertion failed: false', $DIR/catch_panic.rs:LL:CC |
| 29 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 30 | +assertion failed: false |
21 | 31 | Caught panic message (&str): assertion failed: false
|
22 |
| -thread 'main' panicked at 'assertion failed: false', $DIR/catch_panic.rs:LL:CC |
| 32 | +thread 'main' panicked at $DIR/catch_panic.rs:LL:CC: |
| 33 | +assertion failed: false |
23 | 34 | Caught panic message (&str): assertion failed: false
|
24 | 35 | Success!
|
0 commit comments