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

Reword the short diagnostic for E0509 #33676

Merged
merged 1 commit into from
May 21, 2016

Conversation

hanna-kruppe
Copy link
Contributor

Saying that a type implements a trait is much more idiomatic than saying it defines the trait.

@rust-highfive
Copy link
Collaborator

r? @arielb1

(rust_highfive has picked a reviewer for you, use r? to override)

@sanxiyn
Copy link
Member

sanxiyn commented May 17, 2016

This needs to update the test suite. (Tests will fail otherwise.)

@GuillaumeGomez
Copy link
Member

I agree. Big 👍!

This needs to update the test suite. (Tests will fail otherwise.)

True.

@hanna-kruppe
Copy link
Contributor Author

hanna-kruppe commented May 17, 2016

D'oh! Can you tell it's my first time touching diagnostics? 😄

I think I updated all tests now (local build/tests not finished yet).

@hanna-kruppe
Copy link
Contributor Author

Travis is taking its sweet time with the build, but at least stage2-cfail passes locally.

@sanxiyn
Copy link
Member

sanxiyn commented May 18, 2016

Failed tidy. :(

@hanna-kruppe
Copy link
Contributor Author

Ugh. Fixed now.

@sanxiyn
Copy link
Member

sanxiyn commented May 18, 2016

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 18, 2016

📌 Commit ac6da22 has been approved by sanxiyn

@bors
Copy link
Contributor

bors commented May 19, 2016

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

Saying that a type *implements* a trait is much more idiomatic than saying it *defines* the trait.
@hanna-kruppe
Copy link
Contributor Author

Rebased

@sanxiyn
Copy link
Member

sanxiyn commented May 20, 2016

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 20, 2016

📌 Commit e575d19 has been approved by sanxiyn

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 20, 2016
Reword the short diagnostic for E0509

Saying that a type *implements* a trait is much more idiomatic than saying it *defines* the trait.
bors added a commit that referenced this pull request May 20, 2016
Rollup of 6 pull requests

- Successful merges: #33668, #33676, #33683, #33734, #33739, #33745
- Failed merges: #33578
@bors bors merged commit e575d19 into rust-lang:master May 21, 2016
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.

6 participants