@@ -33,7 +33,7 @@ impl_stable_hash_for!(struct mir::UpvarDecl { debug_name, by_ref });
33
33
impl_stable_hash_for ! ( struct mir:: BasicBlockData <' tcx> { statements, terminator, is_cleanup } ) ;
34
34
35
35
impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
36
- for mir:: Terminator < ' tcx > {
36
+ for mir:: Terminator < ' gcx > {
37
37
#[ inline]
38
38
fn hash_stable < W : StableHasherResult > ( & self ,
39
39
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
@@ -125,7 +125,7 @@ impl<'a, 'gcx, 'tcx> HashStable<StableHashingContext<'a, 'gcx, 'tcx>> for mir::P
125
125
}
126
126
127
127
impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
128
- for mir:: TerminatorKind < ' tcx > {
128
+ for mir:: TerminatorKind < ' gcx > {
129
129
fn hash_stable < W : StableHasherResult > ( & self ,
130
130
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
131
131
hasher : & mut StableHasher < W > ) {
@@ -186,7 +186,7 @@ for mir::TerminatorKind<'tcx> {
186
186
}
187
187
188
188
impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
189
- for mir:: AssertMessage < ' tcx > {
189
+ for mir:: AssertMessage < ' gcx > {
190
190
fn hash_stable < W : StableHasherResult > ( & self ,
191
191
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
192
192
hasher : & mut StableHasher < W > ) {
@@ -207,7 +207,7 @@ for mir::AssertMessage<'tcx> {
207
207
impl_stable_hash_for ! ( struct mir:: Statement <' tcx> { source_info, kind } ) ;
208
208
209
209
impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
210
- for mir:: StatementKind < ' tcx > {
210
+ for mir:: StatementKind < ' gcx > {
211
211
fn hash_stable < W : StableHasherResult > ( & self ,
212
212
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
213
213
hasher : & mut StableHasher < W > ) {
@@ -244,7 +244,7 @@ for mir::StatementKind<'tcx> {
244
244
}
245
245
246
246
impl < ' a , ' gcx , ' tcx , T > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
247
- for mir:: ValidationOperand < ' tcx , T >
247
+ for mir:: ValidationOperand < ' gcx , T >
248
248
where T : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
249
249
{
250
250
fn hash_stable < W : StableHasherResult > ( & self ,
@@ -260,7 +260,7 @@ impl<'a, 'gcx, 'tcx, T> HashStable<StableHashingContext<'a, 'gcx, 'tcx>>
260
260
261
261
impl_stable_hash_for ! ( enum mir:: ValidationOp { Acquire , Release , Suspend ( extent) } ) ;
262
262
263
- impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Lvalue < ' tcx > {
263
+ impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Lvalue < ' gcx > {
264
264
fn hash_stable < W : StableHasherResult > ( & self ,
265
265
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
266
266
hasher : & mut StableHasher < W > ) {
@@ -280,7 +280,7 @@ impl<'a, 'gcx, 'tcx> HashStable<StableHashingContext<'a, 'gcx, 'tcx>> for mir::L
280
280
}
281
281
282
282
impl < ' a , ' gcx , ' tcx , B , V , T > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
283
- for mir:: Projection < ' tcx , B , V , T >
283
+ for mir:: Projection < ' gcx , B , V , T >
284
284
where B : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > ,
285
285
V : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > ,
286
286
T : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
@@ -299,7 +299,7 @@ for mir::Projection<'tcx, B, V, T>
299
299
}
300
300
301
301
impl < ' a , ' gcx , ' tcx , V , T > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
302
- for mir:: ProjectionElem < ' tcx , V , T >
302
+ for mir:: ProjectionElem < ' gcx , V , T >
303
303
where V : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > ,
304
304
T : HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
305
305
{
@@ -335,7 +335,7 @@ for mir::ProjectionElem<'tcx, V, T>
335
335
336
336
impl_stable_hash_for ! ( struct mir:: VisibilityScopeData { span, parent_scope } ) ;
337
337
338
- impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Operand < ' tcx > {
338
+ impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Operand < ' gcx > {
339
339
fn hash_stable < W : StableHasherResult > ( & self ,
340
340
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
341
341
hasher : & mut StableHasher < W > ) {
@@ -352,7 +352,7 @@ impl<'a, 'gcx, 'tcx> HashStable<StableHashingContext<'a, 'gcx, 'tcx>> for mir::O
352
352
}
353
353
}
354
354
355
- impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Rvalue < ' tcx > {
355
+ impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Rvalue < ' gcx > {
356
356
fn hash_stable < W : StableHasherResult > ( & self ,
357
357
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
358
358
hasher : & mut StableHasher < W > ) {
@@ -413,7 +413,7 @@ impl_stable_hash_for!(enum mir::CastKind {
413
413
} ) ;
414
414
415
415
impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > >
416
- for mir:: AggregateKind < ' tcx > {
416
+ for mir:: AggregateKind < ' gcx > {
417
417
fn hash_stable < W : StableHasherResult > ( & self ,
418
418
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
419
419
hasher : & mut StableHasher < W > ) {
@@ -469,7 +469,7 @@ impl_stable_hash_for!(enum mir::NullOp {
469
469
470
470
impl_stable_hash_for ! ( struct mir:: Constant <' tcx> { span, ty, literal } ) ;
471
471
472
- impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Literal < ' tcx > {
472
+ impl < ' a , ' gcx , ' tcx > HashStable < StableHashingContext < ' a , ' gcx , ' tcx > > for mir:: Literal < ' gcx > {
473
473
fn hash_stable < W : StableHasherResult > ( & self ,
474
474
hcx : & mut StableHashingContext < ' a , ' gcx , ' tcx > ,
475
475
hasher : & mut StableHasher < W > ) {
0 commit comments