2023-04-23 06:03:09 -05:00
|
|
|
//@edition:2018
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
#![warn(clippy::needless_parens_on_range_literals)]
|
2022-12-17 07:12:54 -06:00
|
|
|
#![allow(clippy::almost_complete_range)]
|
2022-06-16 10:39:06 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = ('a')..=('z');
|
|
|
|
let _ = 'a'..('z');
|
|
|
|
let _ = (1.)..2.;
|
|
|
|
let _ = (1.)..(2.);
|
|
|
|
let _ = ('a')..;
|
|
|
|
let _ = ..('z');
|
|
|
|
}
|