]> git.lizzy.rs Git - rust.git/blob - tests/ui/match_str_case_mismatch.stderr
Add size_of_ref lint
[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:113: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:123:9
15    |
16 LL |         "~!@#$%^&*()-_=+Foo" => {},
17    |         ^^^^^^^^^^^^^^^^^^^^
18    |
19 help: consider changing the case of this arm to respect `to_ascii_lowercase`
20    |
21 LL |         "~!@#$%^&*()-_=+foo" => {},
22    |         ~~~~~~~~~~~~~~~~~~~~
23
24 error: this `match` arm has a differing case than its expression
25   --> $DIR/match_str_case_mismatch.rs:135:9
26    |
27 LL |         "Воды" => {},
28    |         ^^^^^^
29    |
30 help: consider changing the case of this arm to respect `to_lowercase`
31    |
32 LL |         "воды" => {},
33    |         ~~~~~~
34
35 error: this `match` arm has a differing case than its expression
36   --> $DIR/match_str_case_mismatch.rs:146:9
37    |
38 LL |         "barDz" => {},
39    |         ^^^^^^
40    |
41 help: consider changing the case of this arm to respect `to_lowercase`
42    |
43 LL |         "bardz" => {},
44    |         ~~~~~~
45
46 error: this `match` arm has a differing case than its expression
47   --> $DIR/match_str_case_mismatch.rs:156:9
48    |
49 LL |         "bARʁ" => {},
50    |         ^^^^^^
51    |
52 help: consider changing the case of this arm to respect `to_uppercase`
53    |
54 LL |         "BARʁ" => {},
55    |         ~~~~~~
56
57 error: this `match` arm has a differing case than its expression
58   --> $DIR/match_str_case_mismatch.rs:166:9
59    |
60 LL |         "Bar" => {},
61    |         ^^^^^
62    |
63 help: consider changing the case of this arm to respect `to_ascii_lowercase`
64    |
65 LL |         "bar" => {},
66    |         ~~~~~
67
68 error: this `match` arm has a differing case than its expression
69   --> $DIR/match_str_case_mismatch.rs:181:9
70    |
71 LL |         "bAR" => {},
72    |         ^^^^^
73    |
74 help: consider changing the case of this arm to respect `to_ascii_uppercase`
75    |
76 LL |         "BAR" => {},
77    |         ~~~~~
78
79 error: aborting due to 7 previous errors
80