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

Fix of bug introduced by #53762 (tool_lints) #53887

Merged
merged 3 commits into from
Sep 2, 2018

Conversation

flip1995
Copy link
Member

@flip1995 flip1995 commented Sep 1, 2018

Before implementing backwards compat for tool lints, the Tool case when parsing cmdline lints was unreachable. This changed with #53762.

This fix is needed for rls test-pass. (@nrc)

r? @Manishearth

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 1, 2018
CheckLintNameResult::Tool(_) => unreachable!(),
CheckLintNameResult::Tool(result) => match result {
Err((Some(_), new_name)) => Some(sess.struct_warn(&format!(
"lint name `{}` is deprcated \
Copy link
Member

Choose a reason for hiding this comment

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

deprcated -> deprecated ?
(also in tests)

@Manishearth
Copy link
Member

@bors delegate+

r=me with the typo fix

@bors
Copy link
Contributor

bors commented Sep 1, 2018

✌️ @flip1995 can now approve this pull request

@Manishearth
Copy link
Member

@bors r+

Just directly pushed a fix, since this fixes RLS which we want to land sooner rather than later.

@bors
Copy link
Contributor

bors commented Sep 1, 2018

📌 Commit daa4364 has been approved by Manishearth

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 1, 2018
@bors
Copy link
Contributor

bors commented Sep 2, 2018

⌛ Testing commit daa4364 with merge 3480ac2...

bors added a commit that referenced this pull request Sep 2, 2018
Fix of bug introduced by #53762 (tool_lints)

Before implementing backwards compat for tool lints, the `Tool` case when parsing cmdline lints was unreachable. This changed with #53762.

This fix is needed for rls test-pass. (@nrc)

r? @Manishearth
@bors
Copy link
Contributor

bors commented Sep 2, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: Manishearth
Pushing 3480ac2 to master...

@bors bors merged commit daa4364 into rust-lang:master Sep 2, 2018
@flip1995 flip1995 deleted the tool_lints branch September 2, 2018 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants