This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 404172f
committed
Auto merge of rust-lang#133509 - Urgau:dangling_lint_perf, r=<try>
Recover some lost performence from rust-lang#132732
This PR reorders some conditions in the `dangling_pointers_from_temporaries` lint to avoid some potentially expensive query call, in particular those who could involve some metadata decoding from disk.
cc rust-lang#132732 (comment)
cc `@Kobzol`1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments