about summary refs log tree commit diff
path: root/tests/ui/parser/pat-lt-bracket-7.stderr
blob: cc457a4e64e24a131e770c91b83db9d38f0dbc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: expected one of `)`, `,`, `@`, `if`, or `|`, found `[`
  --> $DIR/pat-lt-bracket-7.rs:5:16
   |
LL |     for Thing(x[]) in foo {}
   |                ^
   |                |
   |                expected one of `)`, `,`, `@`, `if`, 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`.