-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Conversation
src/librustc/lint/context.rs
Outdated
CheckLintNameResult::Tool(_) => unreachable!(), | ||
CheckLintNameResult::Tool(result) => match result { | ||
Err((Some(_), new_name)) => Some(sess.struct_warn(&format!( | ||
"lint name `{}` is deprcated \ |
There was a problem hiding this comment.
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)
@bors delegate+ r=me with the typo fix |
✌️ @flip1995 can now approve this pull request |
@bors r+ Just directly pushed a fix, since this fixes RLS which we want to land sooner rather than later. |
📌 Commit daa4364 has been approved by |
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
☀️ Test successful - status-appveyor, status-travis |
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