about summary refs log tree commit diff
path: root/tests/rustdoc-ui/lints/doc-without-codeblock.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-27 21:19:54 +0000
committerbors <bors@rust-lang.org>2024-11-27 21:19:54 +0000
commit66adeaf46b7a646daeed29518ef76235fcdb9726 (patch)
treeaab55cde5a2a3e91e92ae055e72abb998ac56b88 /tests/rustdoc-ui/lints/doc-without-codeblock.rs
parent6b6a867ae9eac4e78d041ac4ee84be1072a48cf7 (diff)
parentb6c80a610fd075fe1f4c72972d19c8586a2a586e (diff)
downloadrust-66adeaf46b7a646daeed29518ef76235fcdb9726.tar.gz
rust-66adeaf46b7a646daeed29518ef76235fcdb9726.zip
Auto merge of #133509 - Urgau:dangling_lint_perf, r=Noratrieb
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 https://github.com/rust-lang/rust/pull/132732#issuecomment-2499990683
cc `@Kobzol`
Diffstat (limited to 'tests/rustdoc-ui/lints/doc-without-codeblock.rs')
0 files changed, 0 insertions, 0 deletions