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