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
464 B
Plaintext
Raw Normal View History

error: expected field pattern, found `...`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-46718-struct-pattern-dotdotdot.rs:11:55
|
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
| ~~
error: aborting due to previous error