-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Improve single-use and zero-use lifetime lints #50440
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
Conversation
@bors r+
|
📌 Commit 0a9dcaf has been approved by |
⌛ Testing commit 0a9dcaf with merge 5ffe9f96ef840b9ac2262cf86beab13336598b9b... |
💔 Test failed - status-appveyor |
Unstable lint emission order.
|
d4ac8bf
to
c0105be
Compare
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 |
c0105be
to
6f98ee9
Compare
@bors r=cramertj |
📌 Commit 6f98ee9 has been approved by |
Improve single-use and zero-use lifetime lints The code now correctly identifies *when* to lint -- or more correctly, anyhow -- but it doesn't yet offer suggestions for how to fix. (I just remembered when writing this I had meant to go back over some of these cases around e.g. impl Trait and double check that everything is right...) cc #44752 r? @cramertj
☀️ Test successful - status-appveyor, status-travis |
The code now correctly identifies when to lint -- or more correctly, anyhow -- but it doesn't yet offer suggestions for how to fix.
(I just remembered when writing this I had meant to go back over some of these cases around e.g. impl Trait and double check that everything is right...)
cc #44752
r? @cramertj