@@ -44,16 +44,16 @@ pub struct DynamicQuery<'tcx, C: QueryCache> {
44
44
pub format_value : fn ( & C :: Value ) -> String ,
45
45
}
46
46
47
- pub struct QuerySystemFns < ' tcx > {
47
+ pub struct QuerySystemFns {
48
48
pub engine : QueryEngine ,
49
49
pub local_providers : Providers ,
50
50
pub extern_providers : ExternProviders ,
51
- pub encode_query_results : fn (
51
+ pub encode_query_results : for < ' tcx > fn (
52
52
tcx : TyCtxt < ' tcx > ,
53
53
encoder : & mut CacheEncoder < ' _ , ' tcx > ,
54
54
query_result_index : & mut EncodedDepNodeIndex ,
55
55
) ,
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 ,
57
57
}
58
58
59
59
pub struct QuerySystem < ' tcx > {
@@ -68,7 +68,7 @@ pub struct QuerySystem<'tcx> {
68
68
/// This is `None` if we are not incremental compilation mode
69
69
pub on_disk_cache : Option < OnDiskCache > ,
70
70
71
- pub fns : QuerySystemFns < ' tcx > ,
71
+ pub fns : QuerySystemFns ,
72
72
73
73
pub jobs : AtomicU64 ,
74
74
}
0 commit comments