summary refs log tree commit diff
path: root/src/test/ui/issue-49257.stderr
blob: fec990764bb1427ea4ffd49ff237de8282d4cf96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: expected `}`, found `,`
  --> $DIR/issue-49257.rs:20:19
   |
LL |     let Point { .., y } = p; //~ ERROR expected `}`, found `,`
   |                   ^ `..` must be in the last position, and cannot have a trailing comma

error[E0027]: pattern does not mention fields `x`, `y`
  --> $DIR/issue-49257.rs:20:9
   |
LL |     let Point { .., y } = p; //~ ERROR expected `}`, found `,`
   |         ^^^^^^^^^^^^^^^ missing fields `x`, `y`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0027`.