about summary refs log tree commit diff
path: root/src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2022-10-05 23:18:22 +0200
committerUrgau <urgau@numericable.fr>2022-10-08 11:00:13 +0200
commitc084c263977ba7376ce944b9dd6b8dffdc2eee48 (patch)
tree1586b6bd19f7b9a3a2c83c2b5e45caf86138985b /src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
parenta688a0305fad9219505a8f2576446510601bafe8 (diff)
Split slice part of feature(half_open_range_patterns) to [...]_in_slices
Diffstat (limited to 'src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr')
-rw-r--r--src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr b/src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
index eadaf877670..a9f7a90dede 100644
--- a/src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
+++ b/src/test/ui/half-open-range-patterns/slice_pattern_syntax_problem1.stderr
@@ -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