summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr')
-rw-r--r--tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr b/tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr
new file mode 100644
index 000000000..d7b33ea41
--- /dev/null
+++ b/tests/ui/suggestions/issue-66968-suggest-sorted-words.stderr
@@ -0,0 +1,9 @@
+error[E0425]: cannot find value `a_variable_longer_name` in this scope
+ --> $DIR/issue-66968-suggest-sorted-words.rs:3:20
+ |
+LL | println!("{}", a_variable_longer_name);
+ | ^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `a_longer_variable_name`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0425`.