Skip to content

When an impl references an unknown trait, mention what the trait is called in the error message. #7510

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

Merged
merged 1 commit into from
Jul 3, 2013

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Jun 30, 2013

No description provided.

the trait is called in the error message.
@catamorphism
Copy link
Contributor

Approved, but a test case for this would be good to add too!

@bors bors closed this Jul 3, 2013
@bors bors merged commit 3100483 into rust-lang:master Jul 3, 2013
@Dretch Dretch deleted the missing-trait-message branch July 3, 2013 18:16
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.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 12, 2021
Fix `while_let_on_iterator` - rust-lang#7510

fixes: rust-lang#7510
changelog: Suggest re-borrowing mutable references in `while_let_on_iterator`
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.

3 participants