2022-06-04 06:34:07 -05:00
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:30:17
|
2022-06-04 06:34:07 -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-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:31:17
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | let _ = 'A' .. ('Z');
|
|
|
|
| ^^^^--^^^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:37:13
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | let _ = (b'a')..(b'z');
|
|
|
|
| ^^^^^^--^^^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:38:13
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | let _ = b'A'..b'Z';
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:43:13
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | let _ = a!()..'z';
|
|
|
|
| ^^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:46:9
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | b'a'..b'z' if true => 1,
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:47:9
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | b'A'..b'Z' if true => 2,
|
|
|
|
| ^^^^--^^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:54:9
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' if true => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:55:9
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | 'A'..'Z' if true => 2,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $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
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `...`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:75:13
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | let _ = 'a'..'z';
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
|
|
|
error: almost complete ascii letter range
|
2022-09-21 12:02:37 -05:00
|
|
|
--> $DIR/almost_complete_letter_range.rs:77:9
|
2022-06-04 06:34:07 -05:00
|
|
|
|
|
|
|
|
LL | 'a'..'z' => 1,
|
|
|
|
| ^^^--^^^
|
|
|
|
| |
|
|
|
|
| help: use an inclusive range: `..=`
|
|
|
|
|
2022-09-21 12:02:37 -05:00
|
|
|
error: aborting due to 13 previous errors
|
2022-06-04 06:34:07 -05:00
|
|
|
|