about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/const.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/misspelled-keywords/const.stderr')
-rw-r--r--tests/ui/parser/misspelled-keywords/const.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/parser/misspelled-keywords/const.stderr b/tests/ui/parser/misspelled-keywords/const.stderr
index 35e4d731db7..ca76f51f4ed 100644
--- a/tests/ui/parser/misspelled-keywords/const.stderr
+++ b/tests/ui/parser/misspelled-keywords/const.stderr
@@ -6,8 +6,9 @@ LL | cons A: u8 = 10;
    |
 help: there is a keyword `const` with a similar name
    |
-LL | const A: u8 = 10;
-   | ~~~~~
+LL - cons A: u8 = 10;
+LL + const A: u8 = 10;
+   |
 
 error: aborting due to 1 previous error