rust/src/test/ui/issues/issue-22289.rs
2019-05-29 00:57:31 -04:00

4 lines
72 B
Rust

fn main() {
0 as &dyn std::any::Any; //~ ERROR non-primitive cast
}