fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0658]: subslice patterns are unstable 2 --> $DIR/feature-gate-slice-patterns.rs:6:16 3 | 4LL | [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 10error[E0658]: subslice patterns are unstable 11 --> $DIR/feature-gate-slice-patterns.rs:7:13 12 | 13LL | [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 19error[E0658]: subslice patterns are unstable 20 --> $DIR/feature-gate-slice-patterns.rs:8:10 21 | 22LL | [.., 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 28error[E0658]: subslice patterns are unstable 29 --> $DIR/feature-gate-slice-patterns.rs:13:11 30 | 31LL | [ 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 37error[E0658]: subslice patterns are unstable 38 --> $DIR/feature-gate-slice-patterns.rs:14:14 39 | 40LL | [ 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 46error[E0658]: subslice patterns are unstable 47 --> $DIR/feature-gate-slice-patterns.rs:15:17 48 | 49LL | [ 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 55error: aborting due to 6 previous errors 56 57For more information about this error, try `rustc --explain E0658`.