-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add long diagnostics for E0062, E0063 and E0137 #25200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -12,6 +12,16 @@ | |||
|
|||
register_long_diagnostics! { | |||
|
|||
E0062: r##" | |||
This error indicates that during an attempt to build a struct or struct-like | |||
enum variant, one of the fields was specified more than once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this could elaborate in saying that each field must be specified exactly one time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that's a good suggestion. I've added this.
☔ The latest upstream changes (presumably #25218) made this pull request unmergeable. Please resolve the merge conflicts. |
🔒 Merge conflict |
rebased |
cc #24407