]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-lt-bracket-6.stderr
slice_patterns: remove gates in tests
[rust.git] / src / test / ui / parser / pat-lt-bracket-6.stderr
1 error: expected one of `)`, `,`, `@`, or `|`, found `[`
2   --> $DIR/pat-lt-bracket-6.rs:5:19
3    |
4 LL |     let Test(&desc[..]) = x;
5    |                   ^
6    |                   |
7    |                   expected one of `)`, `,`, `@`, or `|`
8    |                   help: missing `,`
9
10 error[E0308]: mismatched types
11   --> $DIR/pat-lt-bracket-6.rs:9:30
12    |
13 LL | const RECOVERY_WITNESS: () = 0;
14    |                              ^ expected `()`, found integer
15
16 error: aborting due to 2 previous errors
17
18 For more information about this error, try `rustc --explain E0308`.