Files
rust/compiler
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
..
2025-06-12 20:27:10 +02:00
2025-06-20 15:06:29 +02:00
2025-06-19 13:05:01 -05:00
2025-05-12 15:33:37 +02:00
2025-06-03 14:23:56 +02:00