2021-10-12 06:13:19 -05:00
|
|
|
error: this `match` arm has a differing case than its expression
|
2021-10-11 19:19:34 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:68:9
|
|
|
|
|
|
|
|
|
LL | "Bar" => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2021-10-12 06:13:19 -05:00
|
|
|
= note: `-D clippy::match-str-case-mismatch` implied by `-D warnings`
|
2021-10-11 19:19:34 -05:00
|
|
|
help: consider changing the case of this arm to respect `to_ascii_lowercase`
|
2021-10-12 06:13:19 -05:00
|
|
|
|
|
|
|
|
LL | "bar" => {},
|
|
|
|
| ~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
2021-10-11 19:19:34 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:78:9
|
|
|
|
|
|
|
|
|
LL | "Bar" => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2021-10-12 06:13:19 -05:00
|
|
|
help: consider changing the case of this arm to respect `to_ascii_lowercase`
|
|
|
|
|
|
|
|
|
LL | "bar" => {},
|
|
|
|
| ~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
2021-10-11 19:19:34 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:93:9
|
|
|
|
|
|
|
|
|
LL | "bAR" => {},
|
|
|
|
| ^^^^^
|
2021-10-12 06:13:19 -05:00
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_ascii_uppercase`
|
|
|
|
|
|
|
|
|
LL | "BAR" => {},
|
|
|
|
| ~~~~~
|
2021-10-11 19:19:34 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|