rust/compiler/rustc_resolve
bors 0d65e5a180 Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petrochenkov
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 https://github.com/rust-lang/rust/pull/128357#issuecomment-2262677031.

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

r? petrochenkov
2024-08-08 01:46:21 +00:00
..
src Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petrochenkov 2024-08-08 01:46:21 +00:00
Cargo.toml rustdoc: update to pulldown-cmark 0.11 2024-06-30 18:33:48 -07:00
messages.ftl When finding item gated behind a cfg flat, point at it 2024-07-12 18:52:52 +00:00