rust/compiler/rustc_resolve/src
Trevor Gross 44d50f9acf
Rollup merge of #142716 - nnethercote:adjust-with_generic_param_rib, r=petrochenkov
Adjust `with_generic_param_rib`.

Currently all of its call sites construct a `LifetimeRibKind::Generics` value, which `with_generic_param_rib` then deconstructs (and panics if it's a different `LifetimeRibKind` variant).

This commit makes the code simpler and shorter: the call sites just pass in the three values and `with_generic_param_rib` constructs the `LifetimeRibKind::Generics` value from them.

r? `@petrochenkov`
2025-06-20 23:25:57 -04:00
..
late Fix PathSource lifetimes. 2025-06-16 10:33:00 +10:00
rustdoc source_span_for_markdown_range: fix utf8 violation 2025-05-31 14:51:16 -05:00
build_reduced_graph.rs resolve: Tweak private_macro_use lint to be compatible with upcoming macro prelude changes 2025-06-03 00:09:54 +03:00
check_unused.rs deduplicate more walk_* methods in AST visit 2025-06-06 04:59:26 +00:00
def_collector.rs remove equivalent new method on context 2025-06-20 07:50:11 +02:00
diagnostics.rs Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
effective_visibilities.rs Reorder ast::ItemKind::{Struct,Enum,Union} fields. 2025-05-28 15:48:45 +10:00
errors.rs resolve: Support imports of associated types and glob imports from traits 2025-05-02 15:59:38 +03:00
ident.rs Detect when attribute is provided by missing derive macro 2025-06-12 21:28:49 +00:00
imports.rs resolve: Tweak private_macro_use lint to be compatible with upcoming macro prelude changes 2025-06-03 00:09:54 +03:00
late.rs Adjust with_generic_param_rib. 2025-06-19 20:44:06 +10:00
lib.rs Auto merge of #134841 - estebank:serde-attr-4, r=wesleywiser 2025-06-13 22:59:24 +00:00
macros.rs Auto merge of #134841 - estebank:serde-attr-4, r=wesleywiser 2025-06-13 22:59:24 +00:00
rustdoc.rs source_span_for_markdown_range: fix utf8 violation 2025-05-31 14:51:16 -05:00