Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
panics
/
panic-macro-any.rs
blob: 1392929b65c2e851b4b1c979b1265f77c27b2ea2 [
file
] [
log
] [
blame
]
//@ run-fail
//@ error-pattern:panicked
//@ error-pattern:Box<dyn Any>
//@ needs-subprocess
#![
allow
(
non_fmt_panics
)]
fn
main
()
{
panic
!(
Box
::
new
(
413
)
as
Box
<
dyn std
::
any
::
Any
+
Send
>);
}