rust/src/test/ui/parser/issue-10392.stderr

16 lines
458 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected identifier, found `,`
--> $DIR/issue-10392.rs:6:13
2018-10-20 15:36:17 -05:00
|
LL | let A { , } = a(); //~ ERROR expected ident
2018-10-20 15:36:17 -05:00
| ^ expected identifier
error[E0027]: pattern does not mention field `foo`
--> $DIR/issue-10392.rs:6:9
|
LL | let A { , } = a(); //~ ERROR expected ident
| ^^^^^^^ missing field `foo`
error: aborting due to 2 previous errors
2018-10-20 15:36:17 -05:00
For more information about this error, try `rustc --explain E0027`.