2020-05-11 16:48:48 -05:00
|
|
|
error: this range is empty so it will yield no values
|
2022-10-02 14:13:22 -05:00
|
|
|
--> $DIR/reversed_empty_ranges_loops_unfixable.rs:5:14
|
2020-05-11 16:48:48 -05:00
|
|
|
|
|
|
|
|
LL | for i in 5..5 {
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::reversed-empty-ranges` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: this range is empty so it will yield no values
|
2022-10-02 14:13:22 -05:00
|
|
|
--> $DIR/reversed_empty_ranges_loops_unfixable.rs:9:14
|
2020-05-11 16:48:48 -05:00
|
|
|
|
|
|
|
|
LL | for i in (5 + 2)..(8 - 1) {
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|