1 2 3 4 5 6 7 8 9 10 11 12 13
//@edition:2018 #![warn(clippy::needless_parens_on_range_literals)] #![allow(clippy::almost_complete_range)] fn main() { let _ = 'a'..='z'; let _ = 'a'..'z'; let _ = (1.)..2.; let _ = (1.)..2.; let _ = 'a'..; let _ = ..'z'; }