1 error: this range is empty so it will yield no values
2 --> $DIR/reversed_empty_ranges_fixable.rs:9:5
4 LL | (42..=21).for_each(|x| println!("{}", x));
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 | (21..=42).rev().for_each(|x| println!("{}", x));
13 error: this range is empty so it will yield no values
14 --> $DIR/reversed_empty_ranges_fixable.rs:10:13
16 LL | let _ = (ANSWER..21).filter(|x| x % 2 == 0).take(10).collect::<Vec<_>>();
19 help: consider using the following if you are attempting to iterate over this range in reverse
21 LL | let _ = (21..ANSWER).rev().filter(|x| x % 2 == 0).take(10).collect::<Vec<_>>();
24 error: this range is empty so it will yield no values
25 --> $DIR/reversed_empty_ranges_fixable.rs:12:14
27 LL | for _ in -21..=-42 {}
30 help: consider using the following if you are attempting to iterate over this range in reverse
32 LL | for _ in (-42..=-21).rev() {}
35 error: this range is empty so it will yield no values
36 --> $DIR/reversed_empty_ranges_fixable.rs:13:14
38 LL | for _ in 42u32..21u32 {}
41 help: consider using the following if you are attempting to iterate over this range in reverse
43 LL | for _ in (21u32..42u32).rev() {}
44 | ~~~~~~~~~~~~~~~~~~~~
46 error: aborting due to 4 previous errors