rust/tests/ui/did_you_mean/issue-46718-struct-pattern-dotdotdot.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
466 B
Plaintext
Raw Normal View History

error: expected field pattern, found `...`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-46718-struct-pattern-dotdotdot.rs:11:55
|
2018-02-23 03:42:32 +03:00
LL | PersonalityInventory { expressivity: exp, ... } => exp
2023-01-15 21:31:04 +00:00
| ^^^
|
help: to omit remaining fields, use `..`
|
LL | PersonalityInventory { expressivity: exp, .. } => exp
| ~~
error: aborting due to 1 previous error