fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
566 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: lint level 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