Uh oh!
There was an error while loading. Please reload this page.
Lint single-use lifetimes during AST resolution - #96833
Conversation
c4ce5f5 to
64c8663Compare
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
b4cbf5e to
f629d7dCompare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4799029 to
69b9166CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
May 19, 2022
r=me after squashing review commits into main commits. |
a7e8836 to
563916dComparecjgillot
commented
May 20, 2022
@bors r=petrochenkov |
bors
commented
May 20, 2022
📌 Commit 563916d has been approved by |
bors
commented
May 20, 2022
bors
commented
May 20, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
May 20, 2022
Finished benchmarking commit (b5caa5a): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
This PR rewrites
single_use_lifetimeandunused_lifetimelints to be based on the AST.We have more information at our disposal, so we can reduce the amount of false positives.
Remaining false positive: single-use lifetimes in argument-position impl-trait.
I'm waiting for #96529 to be fixed to have a clean and proper solution here.
Closes#54079
Closes#55057
Closes#55058
Closes#60554
Closes#69952
r? @petrochenkov