Skip to content

Commit 7e250da

Browse files
committed
rename Unevaluated to UnevaluatedConst
1 parent 3c58820 commit 7e250da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub(crate) fn codegen_constant<'tcx>(
109109
) -> CValue<'tcx> {
110110
let (const_val, ty) = match fx.monomorphize(constant.literal) {
111111
ConstantKind::Ty(const_) => unreachable!("{:?}", const_),
112-
ConstantKind::Unevaluated(mir::Unevaluated { def, substs, promoted }, ty)
112+
ConstantKind::Unevaluated(mir::UnevaluatedConst { def, substs, promoted }, ty)
113113
if fx.tcx.is_static(def.did) =>
114114
{
115115
assert!(substs.is_empty());

0 commit comments

Comments
 (0)