1
Fork 0
rust/src/test/ui/parser/bind-struct-early-modifiers.stderr

16 lines
489 B
Text
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: expected `,`
--> $DIR/bind-struct-early-modifiers.rs:4:19
2018-10-20 23:36:17 +03:00
|
LL | Foo { ref x: ref x } => {}, //~ ERROR expected `,`
| ^
error[E0027]: pattern does not mention field `x`
--> $DIR/bind-struct-early-modifiers.rs:4:9
|
LL | Foo { ref x: ref x } => {}, //~ ERROR expected `,`
| ^^^^^^^^^^^^^^^^^^^^ missing field `x`
error: aborting due to 2 previous errors
2018-10-20 23:36:17 +03:00
For more information about this error, try `rustc --explain E0027`.