Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cc9610bf5af1d5c54968db0dd899595ca12307a0
a50d72158e08e02cfc051b863017bdbd2c45b637
2 changes: 1 addition & 1 deletion tests/run-pass/panic/catch_panic.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down