Skip to content

Commit

Permalink
Auto merge of #132666 - dingxiangfei2009:skip-if-let-rescope-lint, r=…
Browse files Browse the repository at this point in the history
…compiler-errors

Skip `if-let-rescope` lint unless requested by migration

Tracked by #124085
Related to rust-lang/rust#131984 (comment)

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. 🙇
  • Loading branch information
bors committed Jan 23, 2025
2 parents 2466c21 + aed7df0 commit b4c71e7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b4c71e7

Please sign in to comment.