3 #![allow(unused_parens)]
9 #[warn(clippy::range_plus_one)]
23 for _ in 0..13 + 13 {}
24 for _ in 0..=13 - 7 {}
27 for _ in 0..=(1 + f()) {}
33 let _ = ((f() + 1)..=f());
36 // integer consts are linted, too
39 let mut vec: Vec<()> = std::vec::Vec::new();