Skip to content
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

Add long diagnostics for E0062, E0063 and E0137 #25200

Merged
merged 3 commits into from May 10, 2015
Merged

Conversation

nham
Copy link
Contributor

@nham nham commented May 8, 2015

cc #24407

@rust-highfive
Copy link
Collaborator

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.
Copy link
Member

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?

Copy link
Contributor Author

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.

@alexcrichton
Copy link
Member

@bors: r+ c8cf370 rollup

@alexcrichton alexcrichton assigned alexcrichton and unassigned pcwalton May 8, 2015
bors added a commit that referenced this pull request May 8, 2015
@bors
Copy link
Contributor

bors commented May 8, 2015

☔ The latest upstream changes (presumably #25218) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented May 9, 2015

🔒 Merge conflict

@nham
Copy link
Contributor Author

nham commented May 9, 2015

rebased

@alexcrichton
Copy link
Member

@bors: r+ df64e05 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request May 10, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request May 10, 2015
bors added a commit that referenced this pull request May 10, 2015
@bors bors merged commit df64e05 into rust-lang:master May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants