summary refs log tree commit diff
path: root/src/test/ui/feature-gate-slice-patterns.stderr
blob: 7a2e67c89821c6093f7c47dbad648ff10454f1bf (plain)
1
2
3
4
5
6
7
8
9
10
error[E0658]: slice pattern syntax is experimental (see issue #23121)
  --> $DIR/feature-gate-slice-patterns.rs:16:9
   |
16 |         [1, 2, xs..] => {} //~ ERROR slice pattern syntax is experimental
   |         ^^^^^^^^^^^^
   |
   = help: add #![feature(slice_patterns)] to the crate attributes to enable

error: aborting due to previous error