summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-66968-suggest-sorted-words.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/issue-66968-suggest-sorted-words.rs')
-rw-r--r--tests/ui/suggestions/issue-66968-suggest-sorted-words.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/suggestions/issue-66968-suggest-sorted-words.rs b/tests/ui/suggestions/issue-66968-suggest-sorted-words.rs
new file mode 100644
index 000000000..440bb653a
--- /dev/null
+++ b/tests/ui/suggestions/issue-66968-suggest-sorted-words.rs
@@ -0,0 +1,4 @@
+fn main() {
+ let a_longer_variable_name = 1;
+ println!("{}", a_variable_longer_name); //~ ERROR E0425
+}