@@ -2155,23 +2155,23 @@ impl<'tcx> Borrow<[Goal<'tcx>]> for Interned<'tcx, List<Goal<'tcx>>> {
2155
2155
}
2156
2156
2157
2157
macro_rules! direct_interners {
2158
- ( $lt_tcx : tt , $ ( $name: ident: $method: ident( $ty: ty) ) ,+) => {
2159
- $( impl <$lt_tcx > PartialEq for Interned <$lt_tcx , $ty> {
2158
+ ( $( $name: ident: $method: ident( $ty: ty) ) ,+) => {
2159
+ $( impl <' tcx > PartialEq for Interned <' tcx , $ty> {
2160
2160
fn eq( & self , other: & Self ) -> bool {
2161
2161
self . 0 == other. 0
2162
2162
}
2163
2163
}
2164
2164
2165
- impl <$lt_tcx > Eq for Interned <$lt_tcx , $ty> { }
2165
+ impl <' tcx > Eq for Interned <' tcx , $ty> { }
2166
2166
2167
- impl <$lt_tcx > Hash for Interned <$lt_tcx , $ty> {
2167
+ impl <' tcx > Hash for Interned <' tcx , $ty> {
2168
2168
fn hash<H : Hasher >( & self , s: & mut H ) {
2169
2169
self . 0 . hash( s)
2170
2170
}
2171
2171
}
2172
2172
2173
- impl <$lt_tcx > TyCtxt <$lt_tcx > {
2174
- pub fn $method( self , v: $ty) -> & $lt_tcx $ty {
2173
+ impl <' tcx > TyCtxt <' tcx > {
2174
+ pub fn $method( self , v: $ty) -> & ' tcx $ty {
2175
2175
self . interners. $name. intern_ref( & v, || {
2176
2176
Interned ( self . interners. arena. alloc( v) )
2177
2177
} ) . 0
@@ -2184,7 +2184,7 @@ pub fn keep_local<'tcx, T: ty::TypeFoldable<'tcx>>(x: &T) -> bool {
2184
2184
x. has_type_flags ( ty:: TypeFlags :: KEEP_IN_LOCAL_TCX )
2185
2185
}
2186
2186
2187
- direct_interners ! ( ' tcx ,
2187
+ direct_interners ! (
2188
2188
region: mk_region( RegionKind ) ,
2189
2189
goal: mk_goal( GoalKind <' tcx>) ,
2190
2190
const_: mk_const( Const <' tcx>)
0 commit comments