Skip to content

Commit

Permalink
Auto merge of #133509 - Urgau:dangling_lint_perf, r=Noratrieb
Browse files Browse the repository at this point in the history
Recover some lost performence from #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/rust#132732 (comment)
cc `@Kobzol`
  • Loading branch information
bors committed Nov 27, 2024
2 parents bd7e46d + 8f911b1 commit ce66cf3
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ce66cf3

Please sign in to comment.