]> git.lizzy.rs Git - rust.git/blob - tests/ui/match_str_case_mismatch.stderr
Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplett
[rust.git] / tests / ui / match_str_case_mismatch.stderr
1 error: this `match` arm has a differing case than its expression
2   --> $DIR/match_str_case_mismatch.rs:68:9
3    |
4 LL |         "Bar" => {},
5    |         ^^^^^
6    |
7    = note: `-D clippy::match-str-case-mismatch` implied by `-D warnings`
8 help: consider changing the case of this arm to respect `to_ascii_lowercase`
9    |
10 LL |         "bar" => {},
11    |         ~~~~~
12
13 error: this `match` arm has a differing case than its expression
14   --> $DIR/match_str_case_mismatch.rs:78:9
15    |
16 LL |         "Bar" => {},
17    |         ^^^^^
18    |
19 help: consider changing the case of this arm to respect `to_ascii_lowercase`
20    |
21 LL |         "bar" => {},
22    |         ~~~~~
23
24 error: this `match` arm has a differing case than its expression
25   --> $DIR/match_str_case_mismatch.rs:93:9
26    |
27 LL |         "bAR" => {},
28    |         ^^^^^
29    |
30 help: consider changing the case of this arm to respect `to_ascii_uppercase`
31    |
32 LL |         "BAR" => {},
33    |         ~~~~~
34
35 error: aborting due to 3 previous errors
36