rust/compiler/rustc_resolve/src
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
..
late make import.vis is not mutable 2024-08-07 22:13:23 +08:00
build_reduced_graph.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
check_unused.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
def_collector.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
diagnostics.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
effective_visibilities.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ident.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
imports.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
late.rs Auto merge of #128550 - compiler-errors:shadowed-params-perf, r=petrochenkov 2024-08-08 01:46:21 +00:00
lib.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
macros.rs make import.vis is not mutable 2024-08-07 22:13:23 +08:00
rustdoc.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00