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

Catch attempts to project nonexistent associated items from a trait. #22759

Conversation

pnkfelix
Copy link
Member

Catch attempts to project nonexistent associated items from a trait.

(Also, fix an instance of this mistake this fix uncovered in iter.rs)

Fix #22731.

@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@pnkfelix pnkfelix force-pushed the issue-22731-proj-nonexist-assoc-item branch from 1adb599 to 3a60f2c Compare February 24, 2015 10:32
@eddyb
Copy link
Member

eddyb commented Feb 24, 2015

This is obsoleted by #22172, which is in the queue.

@eddyb eddyb closed this Feb 24, 2015
@pnkfelix
Copy link
Member Author

(of course, my PR might actually land. :( )

((sorry for the snark, I'm really more just upset by how badly our overall infrastructure is behaving right now...))

@eddyb
Copy link
Member

eddyb commented Feb 24, 2015

@pnkfelix I deserve around 35% of that snark. Feel free to reopen and r=me if it doesn't merge today.

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.

Projecting <Type as Trait>::N should check that N is part of Trait
3 participants