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

rustc: Fix unknown_lints next to an unknown lint #43841

Merged
merged 1 commit into from
Aug 16, 2017

Conversation

alexcrichton
Copy link
Member

The lint refactoring in #43522 didn't account for #[allow(unknown_lints)]
happening at the same node as an unknown lint itself, so this commit updates the
handling to ensure that the local set of lint configuration being built is
queried before looking at the chain of lint levels.

Closes #43809

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

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

The lint refactoring in rust-lang#43522 didn't account for `#[allow(unknown_lints)]`
happening at the same node as an unknown lint itself, so this commit updates the
handling to ensure that the local set of lint configuration being built is
queried before looking at the chain of lint levels.

Closes rust-lang#43809
@carols10cents carols10cents added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 14, 2017
@arielb1
Copy link
Contributor

arielb1 commented Aug 15, 2017

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Aug 16, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Aug 16, 2017

📌 Commit 8b2bdc5 has been approved by eddyb

@bors
Copy link
Contributor

bors commented Aug 16, 2017

⌛ Testing commit 8b2bdc5 with merge 85eadf8...

bors added a commit that referenced this pull request Aug 16, 2017
rustc: Fix `unknown_lints` next to an unknown lint

The lint refactoring in #43522 didn't account for `#[allow(unknown_lints)]`
happening at the same node as an unknown lint itself, so this commit updates the
handling to ensure that the local set of lint configuration being built is
queried before looking at the chain of lint levels.

Closes #43809
@bors
Copy link
Contributor

bors commented Aug 16, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 85eadf8 to master...

@bors bors merged commit 8b2bdc5 into rust-lang:master Aug 16, 2017
@alexcrichton alexcrichton deleted the fix-another-regression branch August 22, 2017 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants