blob: 9c9858aa26cb46bcc71d58a56f0644a6863fa9f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error: expected identifier, found `,`
--> $DIR/issue-10392.rs:6:13
|
LL | let A { , } = a(); //~ ERROR expected ident
| ^ 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
For more information about this error, try `rustc --explain E0027`.
|