@@ -1470,7 +1470,7 @@ pub struct Statement<'tcx> {
14701470
14711471// `Statement` is used a lot. Make sure it doesn't unintentionally get bigger.
14721472#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
1473- static_assert_size ! ( Statement <' _>, 40 ) ;
1473+ static_assert_size ! ( Statement <' _>, 32 ) ;
14741474
14751475impl Statement < ' _ > {
14761476 /// Changes a statement to a nop. This is both faster than deleting instructions and avoids
@@ -1500,7 +1500,7 @@ pub enum StatementKind<'tcx> {
15001500 ///
15011501 /// Note that this also is emitted for regular `let` bindings to ensure that locals that are
15021502 /// never accessed still get some sanity checks for, e.g., `let x: ! = ..;`
1503- FakeRead ( FakeReadCause , Box < Place < ' tcx > > ) ,
1503+ FakeRead ( Box < ( FakeReadCause , Place < ' tcx > ) > ) ,
15041504
15051505 /// Write the discriminant for a variant to the enum Place.
15061506 SetDiscriminant { place : Box < Place < ' tcx > > , variant_index : VariantIdx } ,
@@ -1646,7 +1646,9 @@ impl Debug for Statement<'_> {
16461646 use self :: StatementKind :: * ;
16471647 match self . kind {
16481648 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+ }
16501652 Retag ( ref kind, ref place) => write ! (
16511653 fmt,
16521654 "Retag({}{:?})" ,
0 commit comments