summaryrefslogtreecommitdiffstats
path: root/tests/ui/did_you_mean/issue-46718-struct-pattern-dotdotdot.stderr
blob: 589b2c3784926dc5a35ef647a26f02be58708b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected field pattern, found `...`
  --> $DIR/issue-46718-struct-pattern-dotdotdot.rs:11:55
   |
LL |             PersonalityInventory { expressivity: exp, ... } => exp
   |                                                       ^^^
   |
help: to omit remaining fields, use `..`
   |
LL |             PersonalityInventory { expressivity: exp, .. } => exp
   |                                                       ~~

error: aborting due to previous error