fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
732 B17 linesraw
1error[E0030]: lower range bound must be less than or equal to upper
2  --> $DIR/E0030-teach.rs:5:9
3   |
4LL |         1000 ..= 5 => {}
5   |         ^^^^ lower bound larger than upper bound
6   |
7   = note: When matching against a range, the compiler verifies that the range is non-empty. Range patterns include both end-points, so this is equivalent to requiring the start of the range to be less than or equal to the end of the range.
8
9error[E0030]: lower range bound must be less than or equal to upper
10  --> $DIR/E0030-teach.rs:5:9
11   |
12LL |         1000 ..= 5 => {}
13   |         ^^^^ lower bound larger than upper bound
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0030`.