mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
101 lines
2.8 KiB
Plaintext
101 lines
2.8 KiB
Plaintext
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
|
|
|