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 1ba7a38 commit 578ae16Copy full SHA for 578ae16
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