@@ -44,16 +44,16 @@ pub struct DynamicQuery<'tcx, C: QueryCache> {
4444 pub format_value : fn ( & C :: Value ) -> String ,
4545}
4646
47- pub struct QuerySystemFns < ' tcx > {
47+ pub struct QuerySystemFns {
4848 pub engine : QueryEngine ,
4949 pub local_providers : Providers ,
5050 pub extern_providers : ExternProviders ,
51- pub encode_query_results : fn (
51+ pub encode_query_results : for < ' tcx > fn (
5252 tcx : TyCtxt < ' tcx > ,
5353 encoder : & mut CacheEncoder < ' _ , ' tcx > ,
5454 query_result_index : & mut EncodedDepNodeIndex ,
5555 ) ,
56- pub try_mark_green : fn ( tcx : TyCtxt < ' tcx > , dep_node : & dep_graph:: DepNode ) -> bool ,
56+ pub try_mark_green : for < ' tcx > fn ( tcx : TyCtxt < ' tcx > , dep_node : & dep_graph:: DepNode ) -> bool ,
5757}
5858
5959pub struct QuerySystem < ' tcx > {
@@ -68,7 +68,7 @@ pub struct QuerySystem<'tcx> {
6868 /// This is `None` if we are not incremental compilation mode
6969 pub on_disk_cache : Option < OnDiskCache > ,
7070
71- pub fns : QuerySystemFns < ' tcx > ,
71+ pub fns : QuerySystemFns ,
7272
7373 pub jobs : AtomicU64 ,
7474}
0 commit comments