@@ -1529,7 +1529,10 @@ impl<'a, 'tcx> Lift<'tcx> for &'a Goal<'a> {
15291529
15301530impl < ' a , ' tcx > Lift < ' tcx > for & ' a Slice < Goal < ' a > > {
15311531 type Lifted = & ' tcx Slice < Goal < ' tcx > > ;
1532- fn lift_to_tcx < ' b , ' gcx > ( & self , tcx : TyCtxt < ' b , ' gcx , ' tcx > ) -> Option < & ' tcx Slice < Goal < ' tcx > > > {
1532+ fn lift_to_tcx < ' b , ' gcx > (
1533+ & self ,
1534+ tcx : TyCtxt < ' b , ' gcx , ' tcx > ,
1535+ ) -> Option < & ' tcx Slice < Goal < ' tcx > > > {
15331536 if tcx. interners . arena . in_arena ( * self as * const _ ) {
15341537 return Some ( unsafe { mem:: transmute ( * self ) } ) ;
15351538 }
@@ -1544,7 +1547,10 @@ impl<'a, 'tcx> Lift<'tcx> for &'a Slice<Goal<'a>> {
15441547
15451548impl < ' a , ' tcx > Lift < ' tcx > for & ' a Slice < Clause < ' a > > {
15461549 type Lifted = & ' tcx Slice < Clause < ' tcx > > ;
1547- fn lift_to_tcx < ' b , ' gcx > ( & self , tcx : TyCtxt < ' b , ' gcx , ' tcx > ) -> Option < & ' tcx Slice < Clause < ' tcx > > > {
1550+ fn lift_to_tcx < ' b , ' gcx > (
1551+ & self ,
1552+ tcx : TyCtxt < ' b , ' gcx , ' tcx > ,
1553+ ) -> Option < & ' tcx Slice < Clause < ' tcx > > > {
15481554 if tcx. interners . arena . in_arena ( * self as * const _ ) {
15491555 return Some ( unsafe { mem:: transmute ( * self ) } ) ;
15501556 }
0 commit comments