1 error: expected one of `)`, `,`, `@`, or `|`, found `[`
2 --> $DIR/pat-lt-bracket-7.rs:5:16
4 LL | for Thing(x[]) in foo {}
5 | ^ expected one of `)`, `,`, `@`, or `|`
7 error[E0308]: mismatched types
8 --> $DIR/pat-lt-bracket-7.rs:9:30
10 LL | const RECOVERY_WITNESS: () = 0;
11 | ^ expected (), found integer
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0308`.