diff options
Diffstat (limited to 'tests/ui/parser/recover-struct.stderr')
-rw-r--r-- | tests/ui/parser/recover-struct.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/parser/recover-struct.stderr b/tests/ui/parser/recover-struct.stderr new file mode 100644 index 000000000..9f6fb06ca --- /dev/null +++ b/tests/ui/parser/recover-struct.stderr @@ -0,0 +1,12 @@ +error: expected `:`, found `Bad` + --> $DIR/recover-struct.rs:4:9 + | +LL | struct Test { + | ---- while parsing this struct +LL | Very + | - expected `:` +LL | Bad + | ^^^ unexpected token + +error: aborting due to previous error + |