diff options
Diffstat (limited to 'src/test/ui/parser/bind-struct-early-modifiers.stderr')
-rw-r--r-- | src/test/ui/parser/bind-struct-early-modifiers.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/parser/bind-struct-early-modifiers.stderr b/src/test/ui/parser/bind-struct-early-modifiers.stderr new file mode 100644 index 000000000..b35762a88 --- /dev/null +++ b/src/test/ui/parser/bind-struct-early-modifiers.stderr @@ -0,0 +1,10 @@ +error: expected `,` + --> $DIR/bind-struct-early-modifiers.rs:4:20 + | +LL | Foo { ref x: ref x } => {}, + | --- ^ + | | + | while parsing the fields for this pattern + +error: aborting due to previous error + |