@@ -31,7 +31,7 @@ impl<'tcx> std::ops::Deref for QueryCtxt<'tcx> {
31
31
}
32
32
}
33
33
34
- impl HasDepContext for QueryCtxt < ' tcx > {
34
+ impl < ' tcx > HasDepContext for QueryCtxt < ' tcx > {
35
35
type DepKind = rustc_middle:: dep_graph:: DepKind ;
36
36
type DepContext = TyCtxt < ' tcx > ;
37
37
@@ -41,7 +41,7 @@ impl HasDepContext for QueryCtxt<'tcx> {
41
41
}
42
42
}
43
43
44
- impl QueryContext for QueryCtxt < ' tcx > {
44
+ impl QueryContext for QueryCtxt < ' _ > {
45
45
fn current_query_job ( & self ) -> Option < QueryJobId < Self :: DepKind > > {
46
46
tls:: with_related_context ( * * self , |icx| icx. query )
47
47
}
@@ -130,7 +130,7 @@ impl<'tcx> QueryCtxt<'tcx> {
130
130
131
131
pub ( super ) fn encode_query_results (
132
132
self ,
133
- encoder : & mut on_disk_cache:: CacheEncoder < ' a , ' tcx , opaque:: FileEncoder > ,
133
+ encoder : & mut on_disk_cache:: CacheEncoder < ' _ , ' tcx , opaque:: FileEncoder > ,
134
134
query_result_index : & mut on_disk_cache:: EncodedDepNodeIndex ,
135
135
) -> opaque:: FileEncodeResult {
136
136
macro_rules! encode_queries {
@@ -511,7 +511,7 @@ macro_rules! define_queries_struct {
511
511
}
512
512
}
513
513
514
- impl QueryEngine <' tcx> for Queries <' tcx> {
514
+ impl < ' tcx> QueryEngine <' tcx> for Queries <' tcx> {
515
515
fn as_any( & ' tcx self ) -> & ' tcx dyn std:: any:: Any {
516
516
let this = unsafe { std:: mem:: transmute:: <& Queries <' _>, & Queries <' _>>( self ) } ;
517
517
this as _
0 commit comments