3 // aux-build:macro_rules.rs
5 #![feature(exclusive_range_pattern)]
6 #![feature(stmt_expr_attributes)]
7 #![warn(clippy::almost_complete_range)]
8 #![allow(ellipsis_inclusive_range_patterns)]
9 #![allow(clippy::needless_parens_on_range_literals)]
10 #![allow(clippy::double_parens)]
13 extern crate macro_rules;
44 let _ = ((('0'))) .. ('9');
51 let _ = (b'a')..(b'z');
64 b'a'..b'z' if true => 1,
65 b'A'..b'Z' if true => 2,
66 b'0'..b'9' if true => 3,
74 'a'..'z' if true => 1,
75 'A'..'Z' if true => 2,
76 '0'..'9' if true => 3,
83 almost_complete_range!();
87 #[clippy::msrv = "1.25"]
97 #[clippy::msrv = "1.26"]