review feedback
This commit is contained in:
@@ -1711,7 +1711,7 @@ impl<'tcx> Operand<'tcx> {
|
||||
Operand::Constant(Box::new(Constant {
|
||||
span,
|
||||
user_ty: None,
|
||||
literal: ConstantKind::Val(ConstValue::ZST, ty),
|
||||
literal: ConstantKind::Val(ConstValue::Zst, ty),
|
||||
}))
|
||||
}
|
||||
|
||||
@@ -2196,7 +2196,7 @@ impl<'tcx> ConstantKind<'tcx> {
|
||||
|
||||
#[inline]
|
||||
pub fn zero_sized(ty: Ty<'tcx>) -> Self {
|
||||
let cv = ConstValue::ZST;
|
||||
let cv = ConstValue::Zst;
|
||||
Self::Val(cv, ty)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user