@@ -581,7 +581,8 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
581581 ptr : Pointer < Option < M :: Provenance > > ,
582582 size : Size ,
583583 align : Align ,
584- ) -> InterpResult < ' tcx , Option < AllocRef < ' a , ' tcx , M :: Provenance , M :: AllocExtra , M :: Bytes > > > {
584+ ) -> InterpResult < ' tcx , Option < AllocRef < ' a , ' tcx , M :: Provenance , M :: AllocExtra , M :: Bytes > > >
585+ {
585586 let ptr_and_alloc = self . check_and_deref_ptr (
586587 ptr,
587588 size,
@@ -653,7 +654,8 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
653654 ptr : Pointer < Option < M :: Provenance > > ,
654655 size : Size ,
655656 align : Align ,
656- ) -> InterpResult < ' tcx , Option < AllocRefMut < ' a , ' tcx , M :: Provenance , M :: AllocExtra , M :: Bytes > > > {
657+ ) -> InterpResult < ' tcx , Option < AllocRefMut < ' a , ' tcx , M :: Provenance , M :: AllocExtra , M :: Bytes > > >
658+ {
657659 let parts = self . get_ptr_access ( ptr, size, align) ?;
658660 if let Some ( ( alloc_id, offset, prov) ) = parts {
659661 let tcx = * self . tcx ;
@@ -924,7 +926,9 @@ impl<'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> std::fmt::Debug for DumpAllocs<'a,
924926}
925927
926928/// Reading and writing.
927- impl < ' tcx , ' a , Prov : Provenance , Extra , Bytes : AllocBytes > AllocRefMut < ' a , ' tcx , Prov , Extra , Bytes > {
929+ impl < ' tcx , ' a , Prov : Provenance , Extra , Bytes : AllocBytes >
930+ AllocRefMut < ' a , ' tcx , Prov , Extra , Bytes >
931+ {
928932 /// `range` is relative to this allocation reference, not the base of the allocation.
929933 pub fn write_scalar ( & mut self , range : AllocRange , val : Scalar < Prov > ) -> InterpResult < ' tcx > {
930934 let range = self . range . subrange ( range) ;
0 commit comments