rust/tests/ui/parser/issues/issue-39616.rs

4 lines
70 B
Rust

fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
fn main() {}