review feedback

This commit is contained in:
Ralf Jung 2022-07-05 17:38:46 -04:00
parent 052651dd13
commit ac265cdc19
11 changed files with 15 additions and 21 deletions

View file

@ -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)
}