@@ -91,7 +91,7 @@ rustc_queries! {
9191 /// Maps DefId's that have an associated Mir to the result
9292 /// of the MIR qualify_consts pass. The actual meaning of
9393 /// the value isn't known except to the pass itself.
94- query mir_const_qualif( key: DefId ) -> ( u8 , Lrc < BitSet <mir:: Local > >) {
94+ query mir_const_qualif( key: DefId ) -> ( u8 , & ' tcx BitSet <mir:: Local >) {
9595 cache { key. is_local( ) }
9696 }
9797
@@ -174,7 +174,7 @@ rustc_queries! {
174174
175175 /// Returns the inferred outlives predicates (e.g., for `struct
176176 /// Foo<'a, T> { x: &'a T }`, this would return `T: 'a`).
177- query inferred_outlives_of( _: DefId ) -> Lrc < Vec < ty:: Predicate <' tcx>>> { }
177+ query inferred_outlives_of( _: DefId ) -> & ' tcx [ ty:: Predicate <' tcx>] { }
178178
179179 /// Maps from the `DefId` of a trait to the list of
180180 /// super-predicates. This is a subset of the full list of
@@ -456,7 +456,7 @@ rustc_queries! {
456456
457457 /// Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;
458458 /// in the case of closures, this will be redirected to the enclosing function.
459- query region_scope_tree( _: DefId ) -> Lrc < region:: ScopeTree > { }
459+ query region_scope_tree( _: DefId ) -> & ' tcx region:: ScopeTree { }
460460
461461 query mir_shims( key: ty:: InstanceDef <' tcx>) -> & ' tcx mir:: Mir <' tcx> {
462462 no_force
@@ -504,7 +504,7 @@ rustc_queries! {
504504 }
505505 cache { true }
506506 }
507- query rvalue_promotable_map( key: DefId ) -> Lrc < ItemLocalSet > {
507+ query rvalue_promotable_map( key: DefId ) -> & ' tcx ItemLocalSet {
508508 desc { |tcx|
509509 "checking which parts of `{}` are promotable to static" ,
510510 tcx. def_path_str( key)
@@ -540,7 +540,7 @@ rustc_queries! {
540540 }
541541
542542 TypeChecking {
543- query trait_impls_of( key: DefId ) -> Lrc < ty:: trait_def:: TraitImpls > {
543+ query trait_impls_of( key: DefId ) -> & ' tcx ty:: trait_def:: TraitImpls {
544544 desc { |tcx| "trait impls of `{}`" , tcx. def_path_str( key) }
545545 }
546546 query specialization_graph_of( _: DefId ) -> & ' tcx specialization_graph:: Graph { }
@@ -892,7 +892,7 @@ rustc_queries! {
892892 query normalize_projection_ty(
893893 goal: CanonicalProjectionGoal <' tcx>
894894 ) -> Result <
895- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, NormalizationResult <' tcx> >>>,
895+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, NormalizationResult <' tcx>>>,
896896 NoSolution ,
897897 > {
898898 no_force
@@ -910,7 +910,7 @@ rustc_queries! {
910910 query implied_outlives_bounds(
911911 goal: CanonicalTyGoal <' tcx>
912912 ) -> Result <
913- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, Vec <OutlivesBound <' tcx> >>>>,
913+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, Vec <OutlivesBound <' tcx>>>>,
914914 NoSolution ,
915915 > {
916916 no_force
@@ -921,7 +921,7 @@ rustc_queries! {
921921 query dropck_outlives(
922922 goal: CanonicalTyGoal <' tcx>
923923 ) -> Result <
924- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, DropckOutlivesResult <' tcx> >>>,
924+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, DropckOutlivesResult <' tcx>>>,
925925 NoSolution ,
926926 > {
927927 no_force
@@ -940,7 +940,7 @@ rustc_queries! {
940940 query evaluate_goal(
941941 goal: traits:: ChalkCanonicalGoal <' tcx>
942942 ) -> Result <
943- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) > >>,
943+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) >>,
944944 NoSolution
945945 > {
946946 no_force
@@ -951,7 +951,7 @@ rustc_queries! {
951951 query type_op_ascribe_user_type(
952952 goal: CanonicalTypeOpAscribeUserTypeGoal <' tcx>
953953 ) -> Result <
954- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) > >>,
954+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) >>,
955955 NoSolution ,
956956 > {
957957 no_force
@@ -962,7 +962,7 @@ rustc_queries! {
962962 query type_op_eq(
963963 goal: CanonicalTypeOpEqGoal <' tcx>
964964 ) -> Result <
965- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) > >>,
965+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) >>,
966966 NoSolution ,
967967 > {
968968 no_force
@@ -973,7 +973,7 @@ rustc_queries! {
973973 query type_op_subtype(
974974 goal: CanonicalTypeOpSubtypeGoal <' tcx>
975975 ) -> Result <
976- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) > >>,
976+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) >>,
977977 NoSolution ,
978978 > {
979979 no_force
@@ -984,7 +984,7 @@ rustc_queries! {
984984 query type_op_prove_predicate(
985985 goal: CanonicalTypeOpProvePredicateGoal <' tcx>
986986 ) -> Result <
987- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) > >>,
987+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ( ) >>,
988988 NoSolution ,
989989 > {
990990 no_force
@@ -995,7 +995,7 @@ rustc_queries! {
995995 query type_op_normalize_ty(
996996 goal: CanonicalTypeOpNormalizeGoal <' tcx, Ty <' tcx>>
997997 ) -> Result <
998- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, Ty <' tcx> >>>,
998+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, Ty <' tcx>>>,
999999 NoSolution ,
10001000 > {
10011001 no_force
@@ -1006,7 +1006,7 @@ rustc_queries! {
10061006 query type_op_normalize_predicate(
10071007 goal: CanonicalTypeOpNormalizeGoal <' tcx, ty:: Predicate <' tcx>>
10081008 ) -> Result <
1009- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: Predicate <' tcx> >>>,
1009+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: Predicate <' tcx>>>,
10101010 NoSolution ,
10111011 > {
10121012 no_force
@@ -1017,7 +1017,7 @@ rustc_queries! {
10171017 query type_op_normalize_poly_fn_sig(
10181018 goal: CanonicalTypeOpNormalizeGoal <' tcx, ty:: PolyFnSig <' tcx>>
10191019 ) -> Result <
1020- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: PolyFnSig <' tcx> >>>,
1020+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: PolyFnSig <' tcx>>>,
10211021 NoSolution ,
10221022 > {
10231023 no_force
@@ -1028,7 +1028,7 @@ rustc_queries! {
10281028 query type_op_normalize_fn_sig(
10291029 goal: CanonicalTypeOpNormalizeGoal <' tcx, ty:: FnSig <' tcx>>
10301030 ) -> Result <
1031- Lrc < Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: FnSig <' tcx> >>>,
1031+ & ' tcx Canonical <' tcx, canonical:: QueryResponse <' tcx, ty:: FnSig <' tcx>>>,
10321032 NoSolution ,
10331033 > {
10341034 no_force
0 commit comments