Merge pull request #19095 from ChayimFriedman2/fixme-adt_const_params

minor: Add a FIXME for feature(adt_const_params)
This commit is contained in:
Chayim Refael Friedman 2025-02-04 19:43:31 +00:00 committed by GitHub
commit 6fb64beb80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
}
}