about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-39616.stderr
blob: 082c3a6853a1472934ce51e9649d321d6e6abd67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected type, found `0`
  --> $DIR/issue-39616.rs:1:12
   |
LL | fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
   |            ^

error: expected one of `)`, `,`, `->`, `where`, or `{`, found `]`
  --> $DIR/issue-39616.rs:1:16
   |
LL | fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
   |                ^ expected one of `)`, `,`, `->`, `where`, or `{` here

error: aborting due to 2 previous errors