rust/tests/ui/error-codes/E0620.rs
2023-01-11 09:32:08 +00:00

4 lines
71 B
Rust

fn main() {
let _foo = &[1_usize, 2] as [usize]; //~ ERROR E0620
}