fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
368 B14 linesraw
1error: expected type, found `0`
2  --> $DIR/issue-39616.rs:1:12
3   |
4LL | fn foo(a: [0; 1]) {}
5   |            ^ expected type
6
7error: expected one of `)`, `,`, `->`, `where`, or `{`, found `]`
8  --> $DIR/issue-39616.rs:1:16
9   |
10LL | fn foo(a: [0; 1]) {}
11   |                ^ expected one of `)`, `,`, `->`, `where`, or `{`
12
13error: aborting due to 2 previous errors
14