summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issue-101477-let.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/issue-101477-let.fixed')
-rw-r--r--src/test/ui/parser/issue-101477-let.fixed6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/parser/issue-101477-let.fixed b/src/test/ui/parser/issue-101477-let.fixed
new file mode 100644
index 000000000..9989ad815
--- /dev/null
+++ b/src/test/ui/parser/issue-101477-let.fixed
@@ -0,0 +1,6 @@
+// run-rustfix
+
+fn main() {
+ let x = 2; //~ ERROR unexpected `==`
+ println!("x: {}", x)
+}