diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-02-04 19:43:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 19:43:31 +0000 |
| commit | d9587198f13cc23d755640a883bc4161be21c886 (patch) | |
| tree | 68e15d6f84739ac412506aff3c3fed3cfaba3a6c | |
| parent | 96f96a4f4492b6bea00eeaa9cfb65dc75abbb59d (diff) | |
| parent | 578ae16c93268d280d0aca36a3642fa6aade72fa (diff) | |
| download | rust-d9587198f13cc23d755640a883bc4161be21c886.tar.gz rust-d9587198f13cc23d755640a883bc4161be21c886.zip | |
Merge pull request #19095 from ChayimFriedman2/fixme-adt_const_params
minor: Add a FIXME for feature(adt_const_params)
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs b/src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs index 836a236444c..7839589994b 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs +++ b/src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs @@ -124,6 +124,7 @@ pub(crate) fn path_to_const<'g>( ConstScalar::UnevaluatedConst(c.into(), Substitution::empty(Interner)), expected_ty, )), + // FIXME: With feature(adt_const_params), we also need to consider other things here, e.g. struct constructors. _ => None, } } |
