mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
113 lines
3.3 KiB
Text
113 lines
3.3 KiB
Text
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:30: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:31:17
|
|
|
|
|
LL | let _ = 'A' .. ('Z');
|
|
| ^^^^--^^^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:37:13
|
|
|
|
|
LL | let _ = (b'a')..(b'z');
|
|
| ^^^^^^--^^^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:38:13
|
|
|
|
|
LL | let _ = b'A'..b'Z';
|
|
| ^^^^--^^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:43:13
|
|
|
|
|
LL | let _ = a!()..'z';
|
|
| ^^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:46: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:47: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:54:9
|
|
|
|
|
LL | 'a'..'z' if true => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:55:9
|
|
|
|
|
LL | 'A'..'Z' if true => 2,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:23:17
|
|
|
|
|
LL | let _ = 'a'..'z';
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
...
|
|
LL | b!();
|
|
| ---- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `b` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:68:9
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `...`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:75:13
|
|
|
|
|
LL | let _ = 'a'..'z';
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: almost complete ascii letter range
|
|
--> $DIR/almost_complete_letter_range.rs:77:9
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
| ^^^--^^^
|
|
| |
|
|
| help: use an inclusive range: `..=`
|
|
|
|
error: aborting due to 13 previous errors
|
|
|