Update Box<Any> to Box<dyn Any> in catch_panic.stderr

This commit is contained in:
hyd-dev 2021-06-08 22:17:23 +08:00
parent 81ee877f71
commit 23c0495ebd
No known key found for this signature in database
GPG Key ID: 74FA7FD5B8DA14B8
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
cc9610bf5af1d5c54968db0dd899595ca12307a0
a50d72158e08e02cfc051b863017bdbd2c45b637

View File

@ -5,7 +5,7 @@ thread 'main' panicked at 'Hello from panic: 1', $DIR/catch_panic.rs:LL:26
Caught panic message (String): Hello from panic: 1
thread 'main' panicked at 'Hello from panic: 2', $DIR/catch_panic.rs:LL:26
Caught panic message (String): Hello from panic: 2
thread 'main' panicked at 'Box<Any>', $DIR/catch_panic.rs:LL:27
thread 'main' panicked at 'Box<dyn Any>', $DIR/catch_panic.rs:LL:27
Failed to get caught panic message.
thread 'main' panicked at 'Hello from panic: core', $DIR/catch_panic.rs:LL:27
Caught panic message (&str): Hello from panic: core