review feedback
This commit is contained in:
parent
052651dd13
commit
ac265cdc19
11 changed files with 15 additions and 21 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue