fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: inline-const in pattern position is experimental 2 --> $DIR/range_pat_interactions3.rs:14:20 3 | 4LL | y @ 0..const { 5 + 1 } => assert_eq!(y, 5), 5 | ^^^^^ 6 | 7 = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information 8 = help: add `#![feature(inline_const_pat)]` to the crate attributes to enable 9 10error[E0658]: exclusive range pattern syntax is experimental 11 --> $DIR/range_pat_interactions3.rs:10:17 12 | 13LL | 1 | -3..0 => first_or.push(x), 14 | ^^^^^ 15 | 16 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information 17 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable 18 19error[E0658]: exclusive range pattern syntax is experimental 20 --> $DIR/range_pat_interactions3.rs:12:18 21 | 22LL | y @ (0..5 | 6) => or_two.push(y), 23 | ^^^^ 24 | 25 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information 26 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable 27 28error[E0658]: exclusive range pattern syntax is experimental 29 --> $DIR/range_pat_interactions3.rs:14:17 30 | 31LL | y @ 0..const { 5 + 1 } => assert_eq!(y, 5), 32 | ^^^^^^^^^^^^^^^^^^ 33 | 34 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information 35 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable 36 37error[E0658]: exclusive range pattern syntax is experimental 38 --> $DIR/range_pat_interactions3.rs:18:17 39 | 40LL | y @ ..-7 => assert_eq!(y, -8), 41 | ^^^^ 42 | 43 = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information 44 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable 45 46error: aborting due to 5 previous errors 47 48For more information about this error, try `rustc --explain E0658`.