Skip to content

Commit 9db2499

Browse files
Add a FIXME for feature(adt_const_params)
1 parent 0fd4fc3 commit 9db2499

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir-ty/src/consteval.rs

Lines changed: 1 addition & 0 deletions
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)