Skip to content

Make the error messages that result from referencing nonexistent traits consistent, and add a test. #7572

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

Closed

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Jul 3, 2013

This a followup to #7510. @catamorphism requested a test - so I have created one, but in doing so I noticed some inconsistency in the error messages resulting from referencing nonexistent traits, so I changed the messages to be more consistent.

bors added a commit that referenced this pull request Jul 7, 2013
…cwalton

This a followup to #7510. @catamorphism requested a test - so I have created one, but in doing so I noticed some inconsistency in the error messages resulting from referencing nonexistent traits, so I changed the messages to be more consistent.
@bors bors closed this Jul 7, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 27, 2022
fix op_ref false positive

fixes rust-lang#7572

changelog: `op_ref` don't lint for unnecessary reference in BinOp impl if removing the reference will lead to unconditional recursion
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.

4 participants