2018-07-15 16:11:54 -05:00
|
|
|
error: expected type, found `0`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-39616.rs:1:12
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn foo(a: [0; 1]) {}
|
2019-07-17 13:40:36 -05:00
|
|
|
| ^ expected type
|
2018-07-15 16:11:54 -05:00
|
|
|
|
2020-10-25 14:13:27 -05:00
|
|
|
error: expected one of `)`, `,`, `->`, `;`, `where`, or `{`, found `]`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-39616.rs:1:16
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn foo(a: [0; 1]) {}
|
2020-10-25 14:13:27 -05:00
|
|
|
| ^ expected one of `)`, `,`, `->`, `;`, `where`, or `{`
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|