rust/tests/ui/error-codes/E0620.rs

4 lines
71 B
Rust

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