]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/panic-macro-any.rs
Auto merge of #68506 - tmandry:rollup-kz9d33v, r=tmandry
[rust.git] / src / test / run-fail / panic-macro-any.rs
1 // error-pattern:panicked at 'Box<Any>'
2
3 #![feature(box_syntax)]
4
5 fn main() {
6     panic!(box 413 as Box<::std::any::Any + Send>);
7 }