Skip to content

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
Collaborator

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
Collaborator

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
Collaborator

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
Collaborator

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