summary refs log tree commit diff
path: root/src/test/ui/issues/issue-39616.rs
blob: 3d8e28e5c2f528e029a55055979c361bc61c9662 (plain)
1
2
3
4
5
fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
//~| ERROR expected one of `)`, `,`, `->`, `where`, or `{`, found `]`
// FIXME(jseyfried): avoid emitting the second error (preexisting)

fn main() {}