]> git.lizzy.rs Git - rust.git/blob - tests/ui/reversed_empty_ranges_loops_unfixable.rs
Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki
[rust.git] / tests / ui / reversed_empty_ranges_loops_unfixable.rs
1 #![warn(clippy::reversed_empty_ranges)]
2 #![allow(clippy::uninlined_format_args)]
3
4 fn main() {
5     for i in 5..5 {
6         println!("{}", i);
7     }
8
9     for i in (5 + 2)..(8 - 1) {
10         println!("{}", i);
11     }
12 }