about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-23 23:16:06 +0000
committerbors <bors@rust-lang.org>2025-01-23 23:16:06 +0000
commit22a220a1a8280a262a277fc24661511f6c4dab51 (patch)
tree1e8d3602d3dfee729ef17765c208047abe1dbf8d /compiler/rustc_codegen_llvm/src
parent99768c80a1c094a5cfc3b25a04e7a99de7210eae (diff)
parent193fe5a9663a0f94a61783a8151847d4b9febcbd (diff)
downloadrust-22a220a1a8280a262a277fc24661511f6c4dab51.tar.gz
rust-22a220a1a8280a262a277fc24661511f6c4dab51.zip
Auto merge of #132666 - dingxiangfei2009:skip-if-let-rescope-lint, r=compiler-errors
Skip `if-let-rescope` lint unless requested by migration

Tracked by #124085
Related to https://github.com/rust-lang/rust/pull/131984#issuecomment-2448329667

Given that `if-let-rescope` is a lint to be enabled globally by an edition migration, there is no point in extracting the precise lint level on the HIR expression. This mitigates the performance regression discovered by the earlier perf-run.

cc `@Kobzol` `@rylev` `@traviscross` I propose a `rust-timer` run to measure how much performance that we can recover from the mitigation. :bow:
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions