1 error: this range is empty so it will yield no values
2 --> $DIR/reversed_empty_ranges_loops_fixable.rs:7:14
7 = note: `-D clippy::reversed-empty-ranges` implied by `-D warnings`
8 help: consider using the following if you are attempting to iterate over this range in reverse
10 LL | for i in (0..10).rev() {
13 error: this range is empty so it will yield no values
14 --> $DIR/reversed_empty_ranges_loops_fixable.rs:11:14
16 LL | for i in 10..=0 {
19 help: consider using the following if you are attempting to iterate over this range in reverse
21 LL | for i in (0..=10).rev() {
24 error: this range is empty so it will yield no values
25 --> $DIR/reversed_empty_ranges_loops_fixable.rs:15:14
27 LL | for i in MAX_LEN..0 {
30 help: consider using the following if you are attempting to iterate over this range in reverse
32 LL | for i in (0..MAX_LEN).rev() {
35 error: this range is empty so it will yield no values
36 --> $DIR/reversed_empty_ranges_loops_fixable.rs:34:14
38 LL | for i in (10..0).map(|x| x * 2) {
41 help: consider using the following if you are attempting to iterate over this range in reverse
43 LL | for i in (0..10).rev().map(|x| x * 2) {
46 error: this range is empty so it will yield no values
47 --> $DIR/reversed_empty_ranges_loops_fixable.rs:39:14
49 LL | for i in 10..5 + 4 {
52 help: consider using the following if you are attempting to iterate over this range in reverse
54 LL | for i in (5 + 4..10).rev() {
57 error: this range is empty so it will yield no values
58 --> $DIR/reversed_empty_ranges_loops_fixable.rs:43:14
60 LL | for i in (5 + 2)..(3 - 1) {
63 help: consider using the following if you are attempting to iterate over this range in reverse
65 LL | for i in ((3 - 1)..(5 + 2)).rev() {
66 | ^^^^^^^^^^^^^^^^^^^^^^^^
68 error: aborting due to 6 previous errors