2017-12-16 02:58:19 -06:00
|
|
|
error: expected field pattern, found `...`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-46718-struct-pattern-dotdotdot.rs:11:55
|
2017-12-16 02:58:19 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | PersonalityInventory { expressivity: exp, ... } => exp
|
2023-01-15 15:31:04 -06:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
help: to omit remaining fields, use `..`
|
|
|
|
|
|
|
|
|
LL | PersonalityInventory { expressivity: exp, .. } => exp
|
|
|
|
| ~~
|
2017-12-16 02:58:19 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|