fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
573 B18 linesraw
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   |
7note: the lint level is defined here
8  --> $DIR/inclusive-range-pattern-syntax.rs:4:9
9   |
10LL | #![warn(ellipsis_inclusive_range_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13warning: `...` range patterns are deprecated
14  --> $DIR/inclusive-range-pattern-syntax.rs:15:9
15   |
16LL |         &1...2 => {}
17   |         ^^^^^^ help: use `..=` for an inclusive range: `&(1..=2)`
18