1 error[E0658]: half-open range patterns are unstable
2 --> $DIR/slice_pattern_syntax_problem1.rs:4:23
4 LL | let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
7 = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
8 = help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable
10 error[E0658]: `X..` patterns in slices are experimental
11 --> $DIR/slice_pattern_syntax_problem1.rs:4:10
13 LL | let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
16 = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
17 = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
19 error[E0658]: exclusive range pattern syntax is experimental
20 --> $DIR/slice_pattern_syntax_problem1.rs:4:23
22 LL | let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
25 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
26 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
28 error[E0658]: exclusive range pattern syntax is experimental
29 --> $DIR/slice_pattern_syntax_problem1.rs:4:32
31 LL | let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
34 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
35 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0658`.