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 one fewer `.`: `..`

error: aborting due to previous error

