@@ -31,7 +31,7 @@ impl<'tcx> std::ops::Deref for QueryCtxt<'tcx> {
3131 }
3232}
3333
34- impl HasDepContext for QueryCtxt < ' tcx > {
34+ impl < ' tcx > HasDepContext for QueryCtxt < ' tcx > {
3535 type DepKind = rustc_middle:: dep_graph:: DepKind ;
3636 type DepContext = TyCtxt < ' tcx > ;
3737
@@ -41,7 +41,7 @@ impl HasDepContext for QueryCtxt<'tcx> {
4141 }
4242}
4343
44- impl QueryContext for QueryCtxt < ' tcx > {
44+ impl QueryContext for QueryCtxt < ' _ > {
4545 fn current_query_job ( & self ) -> Option < QueryJobId < Self :: DepKind > > {
4646 tls:: with_related_context ( * * self , |icx| icx. query )
4747 }
@@ -130,7 +130,7 @@ impl<'tcx> QueryCtxt<'tcx> {
130130
131131 pub ( super ) fn encode_query_results (
132132 self ,
133- encoder : & mut on_disk_cache:: CacheEncoder < ' a , ' tcx , opaque:: FileEncoder > ,
133+ encoder : & mut on_disk_cache:: CacheEncoder < ' _ , ' tcx , opaque:: FileEncoder > ,
134134 query_result_index : & mut on_disk_cache:: EncodedDepNodeIndex ,
135135 ) -> opaque:: FileEncodeResult {
136136 macro_rules! encode_queries {
@@ -511,7 +511,7 @@ macro_rules! define_queries_struct {
511511 }
512512 }
513513
514- impl QueryEngine <' tcx> for Queries <' tcx> {
514+ impl < ' tcx> QueryEngine <' tcx> for Queries <' tcx> {
515515 fn as_any( & ' tcx self ) -> & ' tcx dyn std:: any:: Any {
516516 let this = unsafe { std:: mem:: transmute:: <& Queries <' _>, & Queries <' _>>( self ) } ;
517517 this as _
0 commit comments