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

5 lines
85 B
Rust

fn main() {
let x = panic!(); //~ ERROR type annotations needed
x.clone();
}