diff options
| author | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-07-31 00:44:22 +0800 |
|---|---|---|
| committer | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-07-31 13:55:59 +0800 |
| commit | d7b7e236e74f45bdef7e082ac361b699abac20a2 (patch) | |
| tree | 76c8af5dff685e229f9cc90aabeee4feebf6229c | |
| parent | 86ff11e729e780f533030208f1c0ab25e52e6f47 (diff) | |
Extend `is_case_difference` to handle digit-letter confusables
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
| -rw-r--r-- | tests/ui/match_str_case_mismatch.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/match_str_case_mismatch.stderr b/tests/ui/match_str_case_mismatch.stderr index 8068edfff94..c2b58b952aa 100644 --- a/tests/ui/match_str_case_mismatch.stderr +++ b/tests/ui/match_str_case_mismatch.stderr @@ -18,7 +18,7 @@ error: this `match` arm has a differing case than its expression LL | "~!@#$%^&*()-_=+Foo" => {}, | ^^^^^^^^^^^^^^^^^^^^ | -help: consider changing the case of this arm to respect `to_ascii_lowercase` (notice the capitalization difference) +help: consider changing the case of this arm to respect `to_ascii_lowercase` (notice the capitalization) | LL - "~!@#$%^&*()-_=+Foo" => {}, LL + "~!@#$%^&*()-_=+foo" => {}, |
