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.
1 parent 0fd4fc3 commit 9db2499Copy full SHA for 9db2499
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