about summary refs log tree commit diff
path: root/src/test/ui/pattern
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2022-09-26 23:13:38 +0900
committerTakayuki Maeda <takoyaki0316@gmail.com>2022-09-27 10:28:50 +0900
commit4f44dee50129ebd5da77a14a786849973f47b38f (patch)
treee439632e2f155bc875571453d183c8d3984416e5 /src/test/ui/pattern
parente123a612977145e6ea47bd85307d13cfa52455d5 (diff)
downloadrust-4f44dee50129ebd5da77a14a786849973f47b38f.tar.gz
rust-4f44dee50129ebd5da77a14a786849973f47b38f.zip
add a label to struct/enum/union ident name
Diffstat (limited to 'src/test/ui/pattern')
-rw-r--r--src/test/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr b/src/test/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
index fef0f3c0e06..f40642f300c 100644
--- a/src/test/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
+++ b/src/test/ui/pattern/issue-66270-pat-struct-parser-recovery.stderr
@@ -1,6 +1,8 @@
 error: expected type, found `0`
   --> $DIR/issue-66270-pat-struct-parser-recovery.rs:4:22
    |
+LL | struct Bug {
+   |        --- while parsing this struct
 LL |     incorrect_field: 0,
    |                      ^ expected type