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 96f96a4 + 578ae16 commit d958719Copy full SHA for d958719
src/tools/rust-analyzer/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