fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: `..X` range patterns are not supported 2 --> $DIR/pat-tuple-4.rs:5:10 3 | 4LL | (.. PAT) => {} 5 | ^^^^^^ help: try using the minimum value for the type: `MIN..PAT` 6 7error[E0658]: exclusive range pattern syntax is experimental 8 --> $DIR/pat-tuple-4.rs:5:10 9 | 10LL | (.. PAT) => {} 11 | ^^^^^^ 12 | 13 = note: for more information, see https://github.com/rust-lang/rust/issues/37854 14 = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable 15 16error[E0308]: mismatched types 17 --> $DIR/pat-tuple-4.rs:11:30 18 | 19LL | const RECOVERY_WITNESS: () = 0; 20 | ^ expected `()`, found integer 21 22error: aborting due to 3 previous errors 23 24Some errors have detailed explanations: E0308, E0658. 25For more information about an error, try `rustc --explain E0308`.