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

lint: mark associated types as live for the dead_code pass #32158

Merged
merged 1 commit into from
Mar 12, 2016

Conversation

seanmonstar
Copy link
Contributor

Associated types of trait impls were being excluded from the live list. So types that only appeared in trait impls were being marked as dead code.

@alexcrichton
Copy link
Member

@bors: r+ ca129e3

THanks!

@alexcrichton alexcrichton self-assigned this Mar 10, 2016
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 11, 2016
…=alexcrichton

lint: mark associated types as live for the dead_code pass

Associated types of trait impls were being excluded from the live list. So types that only appeared in trait impls were being marked as dead code.
bors added a commit that referenced this pull request Mar 12, 2016
Rollup of 11 pull requests

- Successful merges: #32137, #32158, #32171, #32174, #32178, #32179, #32180, #32181, #32183, #32186, #32197
- Failed merges:
@bors bors merged commit ca129e3 into rust-lang:master Mar 12, 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.

3 participants