@@ -1060,7 +1060,7 @@ impl<'tcx> TyCtxt<'tcx> {
10601060        ) 
10611061    } 
10621062
1063-     pub  fn  lift < T :  ? Sized  +  Lift < ' tcx > > ( self ,  value :  & T )  -> Option < T :: Lifted >  { 
1063+     pub  fn  lift < T :  Lift < ' tcx > > ( self ,  value :  T )  -> Option < T :: Lifted >  { 
10641064        value. lift_to_tcx ( self ) 
10651065    } 
10661066
@@ -1569,16 +1569,16 @@ impl<'tcx> TyCtxt<'tcx> {
15691569/// e.g., `()` or `u8`, was interned in a different context. 
15701570pub  trait  Lift < ' tcx > :  fmt:: Debug  { 
15711571    type  Lifted :  fmt:: Debug  + ' tcx ; 
1572-     fn  lift_to_tcx ( & self ,  tcx :  TyCtxt < ' tcx > )  -> Option < Self :: Lifted > ; 
1572+     fn  lift_to_tcx ( self ,  tcx :  TyCtxt < ' tcx > )  -> Option < Self :: Lifted > ; 
15731573} 
15741574
15751575macro_rules!  nop_lift { 
15761576    ( $set: ident;  $ty: ty => $lifted: ty)  => { 
15771577        impl <' a,  ' tcx> Lift <' tcx> for  $ty { 
15781578            type  Lifted  = $lifted; 
1579-             fn  lift_to_tcx( & self ,  tcx:  TyCtxt <' tcx>)  -> Option <Self :: Lifted > { 
1580-                 if  tcx. interners. $set. contains_pointer_to( & Interned ( * self ) )  { 
1581-                     Some ( unsafe  {  mem:: transmute( * self )  } ) 
1579+             fn  lift_to_tcx( self ,  tcx:  TyCtxt <' tcx>)  -> Option <Self :: Lifted > { 
1580+                 if  tcx. interners. $set. contains_pointer_to( & Interned ( self ) )  { 
1581+                     Some ( unsafe  {  mem:: transmute( self )  } ) 
15821582                }  else { 
15831583                    None 
15841584                } 
@@ -1591,12 +1591,12 @@ macro_rules! nop_list_lift {
15911591    ( $set: ident;  $ty: ty => $lifted: ty)  => { 
15921592        impl <' a,  ' tcx> Lift <' tcx> for  & ' a List <$ty> { 
15931593            type  Lifted  = & ' tcx List <$lifted>; 
1594-             fn  lift_to_tcx( & self ,  tcx:  TyCtxt <' tcx>)  -> Option <Self :: Lifted > { 
1594+             fn  lift_to_tcx( self ,  tcx:  TyCtxt <' tcx>)  -> Option <Self :: Lifted > { 
15951595                if  self . is_empty( )  { 
15961596                    return  Some ( List :: empty( ) ) ; 
15971597                } 
1598-                 if  tcx. interners. $set. contains_pointer_to( & Interned ( * self ) )  { 
1599-                     Some ( unsafe  {  mem:: transmute( * self )  } ) 
1598+                 if  tcx. interners. $set. contains_pointer_to( & Interned ( self ) )  { 
1599+                     Some ( unsafe  {  mem:: transmute( self )  } ) 
16001600                }  else { 
16011601                    None 
16021602                } 
0 commit comments