]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-39616.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-39616.stderr
1 error: expected type, found `0`
2   --> $DIR/issue-39616.rs:11:12
3    |
4 LL | fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
5    |            ^
6
7 error: expected one of `)`, `,`, `->`, `where`, or `{`, found `]`
8   --> $DIR/issue-39616.rs:11:16
9    |
10 LL | fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
11    |                ^ expected one of `)`, `,`, `->`, `where`, or `{` here
12
13 error: aborting due to 2 previous errors
14