]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-slice-patterns.stderr
Simplify SaveHandler trait
[rust.git] / src / test / ui / feature-gates / feature-gate-slice-patterns.stderr
1 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
2   --> $DIR/feature-gate-slice-patterns.rs:6:16
3    |
4 LL |         [1, 2, ..] => {}
5    |                ^^
6    |
7    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
8    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
9
10 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
11   --> $DIR/feature-gate-slice-patterns.rs:7:13
12    |
13 LL |         [1, .., 5] => {}
14    |             ^^
15    |
16    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
17    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
18
19 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
20   --> $DIR/feature-gate-slice-patterns.rs:8:10
21    |
22 LL |         [.., 4, 5] => {}
23    |          ^^
24    |
25    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
26    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
27
28 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
29   --> $DIR/feature-gate-slice-patterns.rs:13:11
30    |
31 LL |         [ xs.., 4, 5 ] => {}
32    |           ^^
33    |
34    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
35    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
36
37 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
38   --> $DIR/feature-gate-slice-patterns.rs:14:14
39    |
40 LL |         [ 1, xs.., 5 ] => {}
41    |              ^^
42    |
43    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
44    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
45
46 error[E0658]: syntax for subslices in slice patterns is not yet stabilized
47   --> $DIR/feature-gate-slice-patterns.rs:15:17
48    |
49 LL |         [ 1, 2, xs.. ] => {}
50    |                 ^^
51    |
52    = note: for more information, see https://github.com/rust-lang/rust/issues/62254
53    = help: add `#![feature(slice_patterns)]` to the crate attributes to enable
54
55 error: aborting due to 6 previous errors
56
57 For more information about this error, try `rustc --explain E0658`.