summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/pat-lt-bracket-6.stderr
blob: 035d0dbfe06d67f459b27bbc5d969a718a93e14d (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-6.rs:5:19
   |
LL |     let Test(&desc[..]) = x;
   |                   ^
   |                   |
   |                   expected one of `)`, `,`, `@`, or `|`
   |                   help: missing `,`

error[E0308]: mismatched types
  --> $DIR/pat-lt-bracket-6.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`.