@@ -2076,8 +2076,8 @@ pub enum Rvalue<'tcx> {
2076
2076
2077
2077
Cast ( CastKind , Operand < ' tcx > , Ty < ' tcx > ) ,
2078
2078
2079
- BinaryOp ( BinOp , Operand < ' tcx > , Operand < ' tcx > ) ,
2080
- CheckedBinaryOp ( BinOp , Operand < ' tcx > , Operand < ' tcx > ) ,
2079
+ BinaryOp ( BinOp , Box < ( Operand < ' tcx > , Operand < ' tcx > ) > ) ,
2080
+ CheckedBinaryOp ( BinOp , Box < ( Operand < ' tcx > , Operand < ' tcx > ) > ) ,
2081
2081
2082
2082
NullaryOp ( NullOp , Ty < ' tcx > ) ,
2083
2083
UnaryOp ( UnOp , Operand < ' tcx > ) ,
@@ -2097,7 +2097,7 @@ pub enum Rvalue<'tcx> {
2097
2097
}
2098
2098
2099
2099
#[ cfg( target_arch = "x86_64" ) ]
2100
- static_assert_size ! ( Rvalue <' _>, 56 ) ;
2100
+ static_assert_size ! ( Rvalue <' _>, 40 ) ;
2101
2101
2102
2102
#[ derive( Clone , Copy , Debug , PartialEq , Eq , TyEncodable , TyDecodable , Hash , HashStable ) ]
2103
2103
pub enum CastKind {
@@ -2201,8 +2201,8 @@ impl<'tcx> Debug for Rvalue<'tcx> {
2201
2201
Cast ( ref kind, ref place, ref ty) => {
2202
2202
write ! ( fmt, "{:?} as {:?} ({:?})" , place, ty, kind)
2203
2203
}
2204
- BinaryOp ( ref op, ref a, ref b) => write ! ( fmt, "{:?}({:?}, {:?})" , op, a, b) ,
2205
- CheckedBinaryOp ( ref op, ref a, ref b) => {
2204
+ BinaryOp ( ref op, box ( ref a, ref b) ) => write ! ( fmt, "{:?}({:?}, {:?})" , op, a, b) ,
2205
+ CheckedBinaryOp ( ref op, box ( ref a, ref b) ) => {
2206
2206
write ! ( fmt, "Checked{:?}({:?}, {:?})" , op, a, b)
2207
2207
}
2208
2208
UnaryOp ( ref op, ref a) => write ! ( fmt, "{:?}({:?})" , op, a) ,
0 commit comments