1
Fork 0

Replace Scalar::zst with a Scalar::ZST constant

This commit is contained in:
oli 2020-11-01 17:04:13 +00:00
parent b8751c1fbb
commit 8282d526e0
5 changed files with 7 additions and 10 deletions

View file

@ -146,7 +146,7 @@ pub(super) fn op_to_const<'tcx>(
"this MPlaceTy must come from a validated constant, thus we can assume the \
alignment is correct",
);
ConstValue::Scalar(Scalar::zst())
ConstValue::Scalar(Scalar::ZST)
}
};
match immediate {