rust/tests/ui/issues/issue-22289.rs
2023-01-11 09:32:08 +00:00

4 lines
72 B
Rust

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