rust/tests/ui/almost_complete_letter_range.stderr

101 lines
2.8 KiB
Plaintext
Raw Normal View History

error: almost complete ascii letter range
2022-09-12 03:44:44 -05:00
--> $DIR/almost_complete_letter_range.rs:26: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
2022-09-12 03:44:44 -05:00
--> $DIR/almost_complete_letter_range.rs:27:17
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
LL | 'a'..'z' => 1,
| ^^^--^^^
| |
| help: use an inclusive range: `..=`
error: aborting due to 12 previous errors