Skip to content

Conversation

@LeoTestard
Copy link
Contributor

Suite of #9991

@brson
Copy link
Contributor

brson commented Oct 22, 2013

Thanks! 🍰

bors added a commit that referenced this pull request Oct 22, 2013
@bors bors closed this Oct 22, 2013
@bors bors merged commit c4bcf77 into rust-lang:master Oct 22, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 10, 2023
Fix rust-lang#107877, etc.

Fix rust-lang#10009
Fix rust-lang#10387
Fix rust-lang#107877

The fix is to verify that the associated item's trait is implemented before trying to project the item's type.

r? `@Jarcho`

---

changelog: ICE: [`needless_borrow`]: No longer panics on ambiguous projections
[rust-lang#10403](rust-lang/rust-clippy#10403)
<!-- changelog_checked -->
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