2022-05-30 21:07:49 -05:00
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:26:17
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = ('a') ..'z';
|
|
|
|
| ^^^^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::almost-complete-letter-range` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:27:17
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = 'A' .. ('Z');
|
|
|
|
| ^^^^--^^^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:33:13
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = (b'a')..(b'z');
|
|
|
|
| ^^^^^^--^^^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:34:13
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = b'A'..b'Z';
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:39:13
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = a!()..'z';
|
|
|
|
| ^^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:43:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | b'a'..b'z' if true => 1,
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:44:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | b'A'..b'Z' if true => 2,
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:51:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' if true => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:52:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | 'A'..'Z' if true => 2,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:62:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `...`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:69:13
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | let _ = 'a'..'z';
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-12 03:44:44 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:71:9
|
2022-05-30 21:07:49 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: aborting due to 12 previous errors
|
|
|
|
|