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