2017-12-16 02:58:19 -06:00
|
|
|
error: expected field pattern, found `...`
|
|
|
|
--> $DIR/issue-46718-struct-pattern-dotdotdot.rs:21:55
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | PersonalityInventory { expressivity: exp, ... } => exp
|
2017-12-16 02:58:19 -06:00
|
|
|
| ^^^ help: to omit remaining fields, use one fewer `.`: `..`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|