Replace Scalar::zst
with a Scalar::ZST
constant
This commit is contained in:
parent
b8751c1fbb
commit
8282d526e0
5 changed files with 7 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue