@@ -1926,13 +1926,15 @@ pub mod tls {
19261926/// to `value` during the call to `f`. It is restored to its previous value after. 
19271927/// This is used to set the pointer to the new ImplicitCtxt. 
19281928#[ cfg( parallel_queries) ]  
1929+     #[ inline]  
19291930    fn  set_tlv < F :  FnOnce ( )  -> R ,  R > ( value :  usize ,  f :  F )  -> R  { 
19301931        rayon_core:: tlv:: with ( value,  f) 
19311932    } 
19321933
19331934    /// Gets Rayon's thread local variable which is preserved for Rayon jobs. 
19341935/// This is used to get the pointer to the current ImplicitCtxt. 
19351936#[ cfg( parallel_queries) ]  
1937+     #[ inline]  
19361938    fn  get_tlv ( )  -> usize  { 
19371939        rayon_core:: tlv:: get ( ) 
19381940    } 
@@ -1945,6 +1947,7 @@ pub mod tls {
19451947/// It is restored to its previous value after. 
19461948/// This is used to set the pointer to the new ImplicitCtxt. 
19471949#[ cfg( not( parallel_queries) ) ]  
1950+     #[ inline]  
19481951    fn  set_tlv < F :  FnOnce ( )  -> R ,  R > ( value :  usize ,  f :  F )  -> R  { 
19491952        let  old = get_tlv ( ) ; 
19501953        let  _reset = OnDrop ( move  || TLV . with ( |tlv| tlv. set ( old) ) ) ; 
@@ -2009,6 +2012,7 @@ pub mod tls {
20092012    } 
20102013
20112014    /// Sets `context` as the new current ImplicitCtxt for the duration of the function `f` 
2015+ #[ inline]  
20122016    pub  fn  enter_context < ' a ,  ' gcx :  ' tcx ,  ' tcx ,  F ,  R > ( context :  & ImplicitCtxt < ' a ,  ' gcx ,  ' tcx > , 
20132017                                                     f :  F )  -> R 
20142018        where  F :  FnOnce ( & ImplicitCtxt < ' a ,  ' gcx ,  ' tcx > )  -> R 
@@ -2080,6 +2084,7 @@ pub mod tls {
20802084    } 
20812085
20822086    /// Allows access to the current ImplicitCtxt in a closure if one is available 
2087+ #[ inline]  
20832088    pub  fn  with_context_opt < F ,  R > ( f :  F )  -> R 
20842089        where  F :  for <' a ,  ' gcx ,  ' tcx > FnOnce ( Option < & ImplicitCtxt < ' a ,  ' gcx ,  ' tcx > > )  -> R 
20852090    { 
@@ -2097,6 +2102,7 @@ pub mod tls {
20972102
20982103    /// Allows access to the current ImplicitCtxt. 
20992104/// Panics if there is no ImplicitCtxt available 
2105+ #[ inline]  
21002106    pub  fn  with_context < F ,  R > ( f :  F )  -> R 
21012107        where  F :  for <' a ,  ' gcx ,  ' tcx > FnOnce ( & ImplicitCtxt < ' a ,  ' gcx ,  ' tcx > )  -> R 
21022108    { 
@@ -2108,6 +2114,7 @@ pub mod tls {
21082114/// with the same 'gcx lifetime as the TyCtxt passed in. 
21092115/// This will panic if you pass it a TyCtxt which has a different global interner from 
21102116/// the current ImplicitCtxt's tcx field. 
2117+ #[ inline]  
21112118    pub  fn  with_related_context < ' a ,  ' gcx ,  ' tcx1 ,  F ,  R > ( tcx :  TyCtxt < ' a ,  ' gcx ,  ' tcx1 > ,  f :  F )  -> R 
21122119        where  F :  for <' b ,  ' tcx2 > FnOnce ( & ImplicitCtxt < ' b ,  ' gcx ,  ' tcx2 > )  -> R 
21132120    { 
@@ -2126,6 +2133,7 @@ pub mod tls {
21262133/// is given an ImplicitCtxt with the same 'tcx and 'gcx lifetimes as the TyCtxt passed in. 
21272134/// This will panic if you pass it a TyCtxt which has a different global interner or 
21282135/// a different local interner from the current ImplicitCtxt's tcx field. 
2136+ #[ inline]  
21292137    pub  fn  with_fully_related_context < ' a ,  ' gcx ,  ' tcx ,  F ,  R > ( tcx :  TyCtxt < ' a ,  ' gcx ,  ' tcx > ,  f :  F )  -> R 
21302138        where  F :  for < ' b >  FnOnce ( & ImplicitCtxt < ' b ,  ' gcx ,  ' tcx > )  -> R 
21312139    { 
@@ -2143,6 +2151,7 @@ pub mod tls {
21432151
21442152    /// Allows access to the TyCtxt in the current ImplicitCtxt. 
21452153/// Panics if there is no ImplicitCtxt available 
2154+ #[ inline]  
21462155    pub  fn  with < F ,  R > ( f :  F )  -> R 
21472156        where  F :  for <' a ,  ' gcx ,  ' tcx > FnOnce ( TyCtxt < ' a ,  ' gcx ,  ' tcx > )  -> R 
21482157    { 
@@ -2151,6 +2160,7 @@ pub mod tls {
21512160
21522161    /// Allows access to the TyCtxt in the current ImplicitCtxt. 
21532162/// The closure is passed None if there is no ImplicitCtxt available 
2163+ #[ inline]  
21542164    pub  fn  with_opt < F ,  R > ( f :  F )  -> R 
21552165        where  F :  for <' a ,  ' gcx ,  ' tcx > FnOnce ( Option < TyCtxt < ' a ,  ' gcx ,  ' tcx > > )  -> R 
21562166    { 
0 commit comments