diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-19 09:19:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 09:19:17 +0100 |
| commit | 5f586efd3e5b635379f0d9fad1fdfdca5c131661 (patch) | |
| tree | 47a5e9f7f55b876c2ab04e62510dcd0e0ac5d985 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 5926e82dd1eae211c6e2ffe446de54df04798e89 (diff) | |
| parent | 473b5d52909b046938eb44350eb119d3529acfd0 (diff) | |
| download | rust-5f586efd3e5b635379f0d9fad1fdfdca5c131661.tar.gz rust-5f586efd3e5b635379f0d9fad1fdfdca5c131661.zip | |
Rollup merge of #131081 - camelid:const-path-it-all, r=BoxyUwU
Use `ConstArgKind::Path` for all single-segment paths, not just params under `min_generic_const_args`
r? `@BoxyUwU`
edit by `@BoxyUwU:`
This PR introduces a `min_generic_const_args` feature gate and implements some preliminary work for it, representing all const arguments that are single segment paths as `ConstArg::Path` instead of only those that resolve to a const generic parameter. There are a few bits of follow up work after this lands:
- Figure out how to represent `Foo<{ STATIC }>`
- Figure out how to evaluate `Foo<{ EnumVariantConstructor }>`
- Make param env normalization handle non-anon-consts
- Move `try_from_lit` and `from_anon_const` to hir ty lowering too
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
