Skip to content

Commit 578ae16

Browse files
Add a FIXME for feature(adt_const_params)
1 parent 1ba7a38 commit 578ae16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/consteval.rs

+1
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)