Skip to content

resolve: don't unused_qualifications-check global paths #38817

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 5, 2017

Conversation

jseyfried
Copy link
Contributor

We started unused_qualifications-checking global paths in #38014, causing #38682.
Fixes #38682.
r? @nrc

@jseyfried
Copy link
Contributor Author

jseyfried commented Jan 4, 2017

The macros 1.1 system currently not provide enough span info to unused_qualifications-check only unexpanded global paths.
Improving the span info enough to fix this is doable but I'd rather we not have to backport it.

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 4, 2017

📌 Commit 7dcacf1 has been approved by petrochenkov

@jseyfried jseyfried added beta-nominated Nominated for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 4, 2017
@killercup
Copy link
Member

FYI this could also fix #38444 (which is already closed)

@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Jan 4, 2017
@nikomatsakis
Copy link
Contributor

Accepted for beta. Small patch, regression. cc @rust-lang/compiler

@alexcrichton
Copy link
Member

@bors: p=1

(this is approved, we'll want to backport)

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

⌛ Testing commit 7dcacf1 with merge a39fc9c...

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Jan 5, 2017 via email

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

⌛ Testing commit 7dcacf1 with merge a10ce81...

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Jan 5, 2017 via email

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

⌛ Testing commit 7dcacf1 with merge cdd72e7...

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

💔 Test failed - status-travis

@nikomatsakis
Copy link
Contributor

nikomatsakis commented Jan 5, 2017

@bors retry

  • odd timeouts building LLVM?

@bors
Copy link
Collaborator

bors commented Jan 5, 2017

⌛ Testing commit 7dcacf1 with merge ea2d41e...

bors added a commit that referenced this pull request Jan 5, 2017
…=petrochenkov

resolve: don't `unused_qualifications`-check global paths

We started `unused_qualifications`-checking global paths in #38014, causing #38682.
Fixes #38682.
r? @nrc
@bors
Copy link
Collaborator

bors commented Jan 5, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: petrochenkov
Pushing ea2d41e to master...

@bors bors merged commit 7dcacf1 into rust-lang:master Jan 5, 2017
@nikomatsakis nikomatsakis mentioned this pull request Jan 6, 2017
17 tasks
@jseyfried jseyfried deleted the improve_unused_qualification_lint branch January 6, 2017 18:23
@alexcrichton alexcrichton removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jan 7, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants