Skip to content

Commit d958719

Browse files
Merge pull request rust-lang#19095 from ChayimFriedman2/fixme-adt_const_params
minor: Add a FIXME for feature(adt_const_params)
2 parents 96f96a4 + 578ae16 commit d958719

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ pub(crate) fn path_to_const<'g>(
124124
ConstScalar::UnevaluatedConst(c.into(), Substitution::empty(Interner)),
125125
expected_ty,
126126
)),
127+
// FIXME: With feature(adt_const_params), we also need to consider other things here, e.g. struct constructors.
127128
_ => None,
128129
}
129130
}

0 commit comments

Comments
 (0)