about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-06-20 23:25:57 -0400
committerGitHub <noreply@github.com>2025-06-20 23:25:57 -0400
commit44d50f9acfd87cdfec66f519b9800fbaa9f5a5de (patch)
treef248bdeb6bee0bc0ceeb254038c7395616522362 /compiler/rustc_codegen_llvm/src/errors.rs
parentcd85b9d83237190b4c001d5a28f7a13686b323f0 (diff)
parent41ca0cb020fd2440a015f053f675303869bd17c6 (diff)
downloadrust-44d50f9acfd87cdfec66f519b9800fbaa9f5a5de.tar.gz
rust-44d50f9acfd87cdfec66f519b9800fbaa9f5a5de.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions