summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-7.stderr
blob: 004dcfb2a7b2d0a9ce63225583cf611a968d4ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: expected one of `)`, `,`, `@`, or `|`, found `[`
  --> $DIR/pat-lt-bracket-7.rs:5:16
   |
LL |     for Thing(x[]) in foo {}
   |                ^
   |                |
   |                expected one of `)`, `,`, `@`, or `|`
   |                help: missing `,`

error[E0308]: mismatched types
  --> $DIR/pat-lt-bracket-7.rs:9:30
   |
LL | const RECOVERY_WITNESS: () = 0;
   |                              ^ expected `()`, found integer

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0308`.