fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: `...` range patterns are deprecated 2 --> $DIR/inclusive-range-pattern-syntax.rs:9:10 3 | 4LL | 1...2 => {} 5 | ^^^ help: use `..=` for an inclusive range 6 | 7 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! 8 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 9note: the lint level is defined here 10 --> $DIR/inclusive-range-pattern-syntax.rs:4:9 11 | 12LL | #![warn(ellipsis_inclusive_range_patterns)] 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 15warning: `...` range patterns are deprecated 16 --> $DIR/inclusive-range-pattern-syntax.rs:16:9 17 | 18LL | &1...2 => {} 19 | ^^^^^^ help: use `..=` for an inclusive range: `&(1..=2)` 20 | 21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! 22 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> 23 24warning: 2 warnings emitted 25