summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr')
-rw-r--r--src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr b/src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr
new file mode 100644
index 000000000..6674b924e
--- /dev/null
+++ b/src/test/ui/parser/issue-68091-unicode-ident-after-if.stderr
@@ -0,0 +1,10 @@
+error: missing condition for `if` expression
+ --> $DIR/issue-68091-unicode-ident-after-if.rs:3:14
+ |
+LL | $($c)รถ* {}
+ | ^ - if this block is the condition of the `if` expression, then it must be followed by another block
+ | |
+ | expected condition here
+
+error: aborting due to previous error
+