mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-17 02:08:28 +00:00
100 lines
2.8 KiB
Text
100 lines
2.8 KiB
Text
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:20:17
|
|
|
|
|
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
|
|
--> $DIR/almost_complete_letter_range.rs:21:17
|
|
|
|
|
LL | let _ = 'A' .. ('Z');
|
|
| ^^^^--^^^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:27:13
|
|
|
|
|
LL | let _ = (b'a')..(b'z');
|
|
| ^^^^^^--^^^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:28:13
|
|
|
|
|
LL | let _ = b'A'..b'Z';
|
|
| ^^^^--^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:33:13
|
|
|
|
|
LL | let _ = a!()..'z';
|
|
| ^^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:36:9
|
|
|
|
|
LL | b'a'..b'z' if true => 1,
|
|
| ^^^^--^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:37:9
|
|
|
|
|
LL | b'A'..b'Z' if true => 2,
|
|
| ^^^^--^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:44:9
|
|
|
|
|
LL | 'a'..'z' if true => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:45:9
|
|
|
|
|
LL | 'A'..'Z' if true => 2,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:55:9
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `...`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:62:13
|
|
|
|
|
LL | let _ = 'a'..'z';
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:64:9
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: aborting due to 12 previous errors
|
|
|