mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 22:13:27 +00:00
14 lines
466 B
Plaintext
14 lines
466 B
Plaintext
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 1 previous error
|
|
|