Split slice part of feature(half_open_range_patterns) to [...]_in_slices
This commit is contained in:
parent
a688a0305f
commit
c084c26397
12 changed files with 63 additions and 8 deletions
|
@ -14,7 +14,7 @@ LL | let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
|
|||
| ^^^^^^^
|
||||
|
|
||||
= note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
|
||||
= help: add `#![feature(half_open_range_patterns)]` to the crate attributes to enable
|
||||
= help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
|
||||
|
||||
error[E0658]: exclusive range pattern syntax is experimental
|
||||
--> $DIR/slice_pattern_syntax_problem1.rs:4:23
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue