Skip to content

Commit

Permalink
Merge pull request #19095 from ChayimFriedman2/fixme-adt_const_params
Browse files Browse the repository at this point in the history
minor: Add a FIXME for feature(adt_const_params)
  • Loading branch information
ChayimFriedman2 authored Feb 4, 2025
2 parents ed1d409 + 9db2499 commit 6fb64be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/hir-ty/src/consteval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 6fb64be

Please sign in to comment.