2019-07-14 01:05:52 +00:00
|
|
|
error: expected one of `)`, `,`, `@`, or `|`, found `[`
|
2019-07-24 00:30:37 +00:00
|
|
|
--> $DIR/pat-lt-bracket-7.rs:5:16
|
2018-10-20 20:36:17 +00:00
|
|
|
|
|
2019-07-24 00:30:37 +00:00
|
|
|
LL | for Thing(x[]) in foo {}
|
2019-11-24 21:33:00 +00:00
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| expected one of `)`, `,`, `@`, or `|`
|
|
|
|
| help: missing `,`
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2019-07-24 00:30:37 +00:00
|
|
|
error[E0308]: mismatched types
|
2019-07-14 01:05:52 +00:00
|
|
|
--> $DIR/pat-lt-bracket-7.rs:9:30
|
2019-07-09 04:30:03 +00:00
|
|
|
|
|
2019-07-24 00:30:37 +00:00
|
|
|
LL | const RECOVERY_WITNESS: () = 0;
|
2019-11-15 17:37:01 +00:00
|
|
|
| ^ expected `()`, found integer
|
2019-07-09 04:30:03 +00:00
|
|
|
|
2019-07-24 00:30:37 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-10-20 20:36:17 +00:00
|
|
|
|
2019-07-24 00:30:37 +00:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|