blob: 17557efa49e803e70c1369448fc0a183d3c3aaf6 [file] [log] [blame]
error: expected one of `)`, `,`, or `@`, found `[`
--> $DIR/pat-lt-bracket-7.rs:5:16
|
LL | for Thing(x[]) in foo {}
| ^ expected one of `)`, `,`, or `@` here
error[E0308]: mismatched types
--> $DIR/pat-lt-bracket-7.rs:8:30
|
LL | const RECOVERY_WITNESS: () = 0;
| ^ expected (), found integer
|
= note: expected type `()`
found type `{integer}`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.