Skip to content

resolve: Fix unused import false positive with item_like_imports #36276

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 4 commits into from
Sep 6, 2016

Conversation

jseyfried
Copy link
Contributor

Fixes #36249.
r? @nrc

@@ -1063,7 +1056,7 @@ pub struct Resolver<'a> {
pub maybe_unused_trait_imports: NodeSet,

privacy_errors: Vec<PrivacyError<'a>>,
ambiguity_errors: Vec<(Span, Name, &'a NameBinding<'a>)>,
ambiguity_errors: Vec<(Span, Name, &'a NameBinding<'a>, &'a NameBinding<'a>)>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting complex enough that it should be factored out into a struct

@nrc
Copy link
Member

nrc commented Sep 6, 2016

r=me with a struct

@jseyfried
Copy link
Contributor Author

@bors r=nrc

@bors
Copy link
Collaborator

bors commented Sep 6, 2016

📌 Commit ff3a644 has been approved by nrc

@bors
Copy link
Collaborator

bors commented Sep 6, 2016

⌛ Testing commit ff3a644 with merge 5114f8a...

bors added a commit that referenced this pull request Sep 6, 2016
resolve: Fix unused import false positive with `item_like_imports`

Fixes #36249.
r? @nrc
@bors bors merged commit ff3a644 into rust-lang:master Sep 6, 2016
@jseyfried jseyfried deleted the fix_unused branch October 16, 2016 09:30
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