about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-06 15:36:23 +0000
committerbors <bors@rust-lang.org>2023-12-06 15:36:23 +0000
commit9e8d7931e0d6262258956e24a033b0e709dd87c9 (patch)
treea38df57f777003cf20cea4629da81598ea7f70c3 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent77e362c34d31f826edec8cd4b21de9f8ad5d6ed8 (diff)
parent374affea3c7f3b3a355b1c92a74d5d91eef98776 (diff)
downloadrust-9e8d7931e0d6262258956e24a033b0e709dd87c9.tar.gz
rust-9e8d7931e0d6262258956e24a033b0e709dd87c9.zip
Auto merge of #16036 - JoJoDeveloping:expose-param-lowering-mode, r=lnicola
make ParamLoweringMode accessible

In `hir-ty`, the `TyLoweringContext` has functions `pub fn with_impl_trait_mode` and `pub fn with_type_param_mode`, which can be used to fine-tune certain lowering properties.
Each of these takes one enum (either `pub enum ImplTraitLoweringMode`, or `pub enum ParamLoweringMode`), which encodes the possible configuration options.

To then make this usable for other crates, `TyLoweringContext` and `ImplTraitLoweringMode` are exported. Unfortuntely, `ParamLoweringMode` is not. This means that while the method can be called, there are no useful values to call it with.

Presumably this is an oversight. It would be great if this was made actually public.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions