about summary refs log tree commit diff
path: root/tests/ui/lint
diff options
context:
space:
mode:
authorxizheyin <xizheyin@smail.nju.edu.cn>2025-07-31 00:44:22 +0800
committerxizheyin <xizheyin@smail.nju.edu.cn>2025-07-31 13:55:59 +0800
commit7b667e7811f4a4b496f38d25c5e824f13638cdbb (patch)
tree9f83495f50b35a78912892b17202811cb032728e /tests/ui/lint
parent32e7a4b92b109c24e9822c862a7c74436b50e564 (diff)
downloadrust-7b667e7811f4a4b496f38d25c5e824f13638cdbb.tar.gz
rust-7b667e7811f4a4b496f38d25c5e824f13638cdbb.zip
Extend `is_case_difference` to handle digit-letter confusables
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'tests/ui/lint')
-rw-r--r--tests/ui/lint/lint-non-uppercase-usages.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/lint/lint-non-uppercase-usages.stderr b/tests/ui/lint/lint-non-uppercase-usages.stderr
index 7c7e573a88e..b34be31216d 100644
--- a/tests/ui/lint/lint-non-uppercase-usages.stderr
+++ b/tests/ui/lint/lint-non-uppercase-usages.stderr
@@ -29,7 +29,7 @@ warning: const parameter `foo` should have an upper case name
 LL | fn foo<const foo: u32>() {
    |              ^^^
    |
-help: convert the identifier to upper case (notice the capitalization difference)
+help: convert the identifier to upper case (notice the capitalization)
    |
 LL - fn foo<const foo: u32>() {
 LL + fn foo<const FOO: u32>() {