We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed1d409 + 9db2499 commit 6fb64beCopy full SHA for 6fb64be
crates/hir-ty/src/consteval.rs
@@ -124,6 +124,7 @@ pub(crate) fn path_to_const<'g>(
124
ConstScalar::UnevaluatedConst(c.into(), Substitution::empty(Interner)),
125
expected_ty,
126
)),
127
+ // FIXME: With feature(adt_const_params), we also need to consider other things here, e.g. struct constructors.
128
_ => None,
129
}
130
0 commit comments