2021-10-21 06:11:36 -05:00
|
|
|
error: this `match` arm has a differing case than its expression
|
2021-11-04 07:52:36 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:111:9
|
2021-10-21 06:11:36 -05:00
|
|
|
|
|
|
|
|
LL | "Bar" => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::match-str-case-mismatch` implied by `-D warnings`
|
|
|
|
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-11-04 07:52:36 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:121:9
|
|
|
|
|
|
|
|
|
LL | "~!@#$%^&*()-_=+Foo" => {},
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_ascii_lowercase`
|
|
|
|
|
|
|
|
|
LL | "~!@#$%^&*()-_=+foo" => {},
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
|
|
|
--> $DIR/match_str_case_mismatch.rs:133:9
|
|
|
|
|
|
|
|
|
LL | "Воды" => {},
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_lowercase`
|
|
|
|
|
|
|
|
|
LL | "воды" => {},
|
|
|
|
| ~~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
|
|
|
--> $DIR/match_str_case_mismatch.rs:144:9
|
|
|
|
|
|
|
|
|
LL | "barDz" => {},
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_lowercase`
|
|
|
|
|
|
|
|
|
LL | "bardz" => {},
|
|
|
|
| ~~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
|
|
|
--> $DIR/match_str_case_mismatch.rs:154:9
|
|
|
|
|
|
|
|
|
LL | "bARʁ" => {},
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_uppercase`
|
|
|
|
|
|
|
|
|
LL | "BARʁ" => {},
|
|
|
|
| ~~~~~~
|
|
|
|
|
|
|
|
error: this `match` arm has a differing case than its expression
|
|
|
|
--> $DIR/match_str_case_mismatch.rs:164:9
|
2021-10-21 06:11:36 -05:00
|
|
|
|
|
|
|
|
LL | "Bar" => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
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-11-04 07:52:36 -05:00
|
|
|
--> $DIR/match_str_case_mismatch.rs:179:9
|
2021-10-21 06:11:36 -05:00
|
|
|
|
|
|
|
|
LL | "bAR" => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
help: consider changing the case of this arm to respect `to_ascii_uppercase`
|
|
|
|
|
|
|
|
|
LL | "BAR" => {},
|
|
|
|
| ~~~~~
|
|
|
|
|
2021-11-04 07:52:36 -05:00
|
|
|
error: aborting due to 7 previous errors
|
2021-10-21 06:11:36 -05:00
|
|
|
|