• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0658]: `X..` patterns in slices are experimental
2  --> $DIR/slice_pattern_syntax_problem1.rs:4:10
3   |
4LL |     let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
5   |          ^^^^^^^
6   |
7   = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
8   = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
9
10error[E0658]: exclusive range pattern syntax is experimental
11  --> $DIR/slice_pattern_syntax_problem1.rs:4:23
12   |
13LL |     let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
14   |                       ^^^
15   |
16   = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
17   = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable
18
19error[E0658]: exclusive range pattern syntax is experimental
20  --> $DIR/slice_pattern_syntax_problem1.rs:4:32
21   |
22LL |     let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
23   |                                ^^^^
24   |
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
27
28error: aborting due to 3 previous errors
29
30For more information about this error, try `rustc --explain E0658`.
31