]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-39616.rs
Rollup merge of #66134 - estebank:unknown-formatting-trait, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-39616.rs
1 fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
2 //~| ERROR expected one of `)`, `,`, `->`, `where`, or `{`, found `]`
3 // FIXME(jseyfried): avoid emitting the second error (preexisting)
4
5 fn main() {}