fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
312 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 `;` or `{`, found `]`
8  --> $DIR/issue-39616.rs:1:16
9   |
10LL | fn foo(a: [0; 1]) {}
11   |                ^ expected `;` or `{`
12
13error: aborting due to 2 previous errors
14