-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Update clippy #52562
Update clippy #52562
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors r+ p=14 |
📌 Commit 826bec3 has been approved by |
⌛ Testing commit 826bec3 with merge 77a6ee663a72063a5b16210c1e1698cbb98a9f87... |
💔 Test failed - status-appveyor |
I suspect the macro checks PR broke this |
Any chance of getting this in today so that we can get a new nightly again? :D |
src/librustc/lint/builtin.rs
Outdated
@@ -216,7 +217,8 @@ declare_lint! { | |||
declare_lint! { | |||
pub DEPRECATED, | |||
Warn, | |||
"detects use of deprecated items" | |||
"detects use of deprecated items", | |||
report_in_external_macro |
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.
I had to read the macro definition to understand that "report_in_external_macro" is essentially a keyword here, and not an identifier. Is there a nicer way to do this? Maybe report_in_external_macro : true
?
@bors r=RalfJung p=1 |
📌 Commit 2f7edcc has been approved by |
I don't really see a problem with that, macros invent local keywords all the time. Warn is like that too. |
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@606713f. Direct link to PR: <rust-lang/rust#52562> 🎉 clippy-driver on windows: build-fail → test-pass. 🎉 clippy-driver on linux: build-fail → test-pass. 🎉 rls on windows: build-fail → test-pass. 🎉 rls on linux: build-fail → test-pass.
r? @kennytm @oli-obk