Skip to content

Commit

Permalink
Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petro…
Browse files Browse the repository at this point in the history
…chenkov

Only walk ribs to collect possibly shadowed params if we are adding params in our new rib

No need to collect params from parent ribs if we literally have no params to declare in this new rib.

Attempt to win back some of the perf in rust-lang/rust#128357 (comment).

Please review with whitespace *off*, the diff should be like 2 lines.

r? petrochenkov
  • Loading branch information
bors committed Aug 8, 2024
2 parents a336cbe + da4fbf6 commit c64cb48
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c64cb48

Please sign in to comment.