2022-06-03 09:12:26 -05:00
|
|
|
// run-rustfix
|
|
|
|
// edition:2018
|
|
|
|
|
2022-06-05 15:12:30 -05:00
|
|
|
#![warn(clippy::needless_parens_on_range_literals)]
|
2022-06-03 09:12:26 -05:00
|
|
|
#![allow(clippy::almost_complete_letter_range)]
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = 'a'..='z';
|
2022-06-04 15:01:52 -05:00
|
|
|
let _ = 'a'..'z';
|
2022-06-04 14:44:37 -05:00
|
|
|
let _ = (1.)..2.;
|
|
|
|
let _ = (1.)..2.;
|
2022-06-04 15:01:52 -05:00
|
|
|
let _ = 'a'..;
|
|
|
|
let _ = ..'z';
|
2022-06-03 09:12:26 -05:00
|
|
|
}
|