@@ -1470,7 +1470,7 @@ pub struct Statement<'tcx> {
1470
1470
1471
1471
// `Statement` is used a lot. Make sure it doesn't unintentionally get bigger.
1472
1472
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
1473
- static_assert_size ! ( Statement <' _>, 40 ) ;
1473
+ static_assert_size ! ( Statement <' _>, 32 ) ;
1474
1474
1475
1475
impl Statement < ' _ > {
1476
1476
/// Changes a statement to a nop. This is both faster than deleting instructions and avoids
@@ -1500,7 +1500,7 @@ pub enum StatementKind<'tcx> {
1500
1500
///
1501
1501
/// Note that this also is emitted for regular `let` bindings to ensure that locals that are
1502
1502
/// never accessed still get some sanity checks for, e.g., `let x: ! = ..;`
1503
- FakeRead ( FakeReadCause , Box < Place < ' tcx > > ) ,
1503
+ FakeRead ( Box < ( FakeReadCause , Place < ' tcx > ) > ) ,
1504
1504
1505
1505
/// Write the discriminant for a variant to the enum Place.
1506
1506
SetDiscriminant { place : Box < Place < ' tcx > > , variant_index : VariantIdx } ,
@@ -1646,7 +1646,9 @@ impl Debug for Statement<'_> {
1646
1646
use self :: StatementKind :: * ;
1647
1647
match self . kind {
1648
1648
Assign ( box ( ref place, ref rv) ) => write ! ( fmt, "{:?} = {:?}" , place, rv) ,
1649
- FakeRead ( ref cause, ref place) => write ! ( fmt, "FakeRead({:?}, {:?})" , cause, place) ,
1649
+ FakeRead ( box ( ref cause, ref place) ) => {
1650
+ write ! ( fmt, "FakeRead({:?}, {:?})" , cause, place)
1651
+ }
1650
1652
Retag ( ref kind, ref place) => write ! (
1651
1653
fmt,
1652
1654
"Retag({}{:?})" ,
0 commit comments