about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/match_str_case_mismatch.stderr
blob: c2b58b952aaa5e38bebddc9c3048ef529c70de38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:112:9
   |
LL |         "Bar" => {},
   |         ^^^^^
   |
   = note: `-D clippy::match-str-case-mismatch` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::match_str_case_mismatch)]`
help: consider changing the case of this arm to respect `to_ascii_lowercase`
   |
LL -         "Bar" => {},
LL +         "bar" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:123:9
   |
LL |         "~!@#$%^&*()-_=+Foo" => {},
   |         ^^^^^^^^^^^^^^^^^^^^
   |
help: consider changing the case of this arm to respect `to_ascii_lowercase` (notice the capitalization)
   |
LL -         "~!@#$%^&*()-_=+Foo" => {},
LL +         "~!@#$%^&*()-_=+foo" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:136:9
   |
LL |         "Воды" => {},
   |         ^^^^^^
   |
help: consider changing the case of this arm to respect `to_lowercase`
   |
LL -         "Воды" => {},
LL +         "воды" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:148:9
   |
LL |         "barDz" => {},
   |         ^^^^^^
   |
help: consider changing the case of this arm to respect `to_lowercase`
   |
LL -         "barDz" => {},
LL +         "bardz" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:159:9
   |
LL |         "bARʁ" => {},
   |         ^^^^^^
   |
help: consider changing the case of this arm to respect `to_uppercase`
   |
LL -         "bARʁ" => {},
LL +         "BARʁ" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:170:9
   |
LL |         "Bar" => {},
   |         ^^^^^
   |
help: consider changing the case of this arm to respect `to_ascii_lowercase`
   |
LL -         "Bar" => {},
LL +         "bar" => {},
   |

error: this `match` arm has a differing case than its expression
  --> tests/ui/match_str_case_mismatch.rs:186:9
   |
LL |         "bAR" => {},
   |         ^^^^^
   |
help: consider changing the case of this arm to respect `to_ascii_uppercase`
   |
LL -         "bAR" => {},
LL +         "BAR" => {},
   |

error: aborting due to 7 previous errors