1 error: expected one of `)`, `,`, `@`, or `|`, found `[`
2 --> $DIR/pat-lt-bracket-6.rs:5:19
4 LL | let Test(&desc[..]) = x;
7 | expected one of `)`, `,`, `@`, or `|`
10 error[E0658]: subslice patterns are unstable
11 --> $DIR/pat-lt-bracket-6.rs:5:20
13 LL | let Test(&desc[..]) = x;
16 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
17 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
19 error[E0308]: mismatched types
20 --> $DIR/pat-lt-bracket-6.rs:10:30
22 LL | const RECOVERY_WITNESS: () = 0;
23 | ^ expected `()`, found integer
25 error: aborting due to 3 previous errors
27 Some errors have detailed explanations: E0308, E0658.
28 For more information about an error, try `rustc --explain E0308`.