1 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
2 --> $DIR/feature-gate-slice-patterns.rs:6:16
7 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
8 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
10 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
11 --> $DIR/feature-gate-slice-patterns.rs:7:13
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[E0658]: syntax for subslices in slice patterns is not yet stabilized
20 --> $DIR/feature-gate-slice-patterns.rs:8:10
25 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
26 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
28 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
29 --> $DIR/feature-gate-slice-patterns.rs:13:11
31 LL | [ xs.., 4, 5 ] => {}
34 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
35 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
37 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
38 --> $DIR/feature-gate-slice-patterns.rs:14:14
40 LL | [ 1, xs.., 5 ] => {}
43 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
44 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
46 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
47 --> $DIR/feature-gate-slice-patterns.rs:15:17
49 LL | [ 1, 2, xs.. ] => {}
52 = note: for more information, see https://github.com/rust-lang/rust/issues/62254
53 = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
55 error: aborting due to 6 previous errors
57 For more information about this error, try `rustc --explain E0658`.