| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:16:17 | |
| | | |
| LL | let _ = ('a') ..'z'; | |
| | ^^^^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| | | |
| = note: `-D clippy::almost-complete-range` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::almost_complete_range)]` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:18:17 | |
| | | |
| LL | let _ = 'A' .. ('Z'); | |
| | ^^^^--^^^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:20:17 | |
| | | |
| LL | let _ = ((('0'))) .. ('9'); | |
| | ^^^^^^^^^^--^^^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:28:13 | |
| | | |
| LL | let _ = (b'a')..(b'z'); | |
| | ^^^^^^--^^^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:30:13 | |
| | | |
| LL | let _ = b'A'..b'Z'; | |
| | ^^^^--^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:32:13 | |
| | | |
| LL | let _ = b'0'..b'9'; | |
| | ^^^^--^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:39:13 | |
| | | |
| LL | let _ = inline!('a')..'z'; | |
| | ^^^^^^^^^^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:41:13 | |
| | | |
| LL | let _ = inline!('A')..'Z'; | |
| | ^^^^^^^^^^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:43:13 | |
| | | |
| LL | let _ = inline!('0')..'9'; | |
| | ^^^^^^^^^^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:47:9 | |
| | | |
| LL | b'a'..b'z' if true => 1, | |
| | ^^^^--^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:49:9 | |
| | | |
| LL | b'A'..b'Z' if true => 2, | |
| | ^^^^--^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:51:9 | |
| | | |
| LL | b'0'..b'9' if true => 3, | |
| | ^^^^--^^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:60:9 | |
| | | |
| LL | 'a'..'z' if true => 1, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:62:9 | |
| | | |
| LL | 'A'..'Z' if true => 2, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:64:9 | |
| | | |
| LL | '0'..'9' if true => 3, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:78:17 | |
| | | |
| LL | let _ = 'a'..'z'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| | | |
| = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info) | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:80:17 | |
| | | |
| LL | let _ = 'A'..'Z'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| | | |
| = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info) | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:82:17 | |
| | | |
| LL | let _ = '0'..'9'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| | | |
| = note: this error originates in the macro `__inline_mac_fn_main` (in Nightly builds, run with -Z macro-backtrace for more info) | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:90:9 | |
| | | |
| LL | 'a'..'z' => 1, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `...` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:92:9 | |
| | | |
| LL | 'A'..'Z' => 2, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `...` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:94:9 | |
| | | |
| LL | '0'..'9' => 3, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `...` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:102:13 | |
| | | |
| LL | let _ = 'a'..'z'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:104:13 | |
| | | |
| LL | let _ = 'A'..'Z'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:106:13 | |
| | | |
| LL | let _ = '0'..'9'; | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:109:9 | |
| | | |
| LL | 'a'..'z' => 1, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:111:9 | |
| | | |
| LL | 'A'..'Z' => 1, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: almost complete ascii range | |
| --> tests/ui/almost_complete_range.rs:113:9 | |
| | | |
| LL | '0'..'9' => 3, | |
| | ^^^--^^^ | |
| | | | |
| | help: use an inclusive range: `..=` | |
| error: aborting due to 27 previous errors | |