@@ -76,9 +76,9 @@ impl ProcessQueryValue<'_, Option<DeprecationEntry>> for Option<Deprecation> {
76
76
}
77
77
78
78
macro_rules! provide_one {
79
- ( <$lt : tt> $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => { table } ) => {
79
+ ( $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => { table } ) => {
80
80
provide_one! {
81
- <$lt> $tcx, $def_id, $other, $cdata, $name => {
81
+ $tcx, $def_id, $other, $cdata, $name => {
82
82
$cdata
83
83
. root
84
84
. tables
@@ -89,9 +89,9 @@ macro_rules! provide_one {
89
89
}
90
90
}
91
91
} ;
92
- ( <$lt : tt> $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => { table_direct } ) => {
92
+ ( $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => { table_direct } ) => {
93
93
provide_one! {
94
- <$lt> $tcx, $def_id, $other, $cdata, $name => {
94
+ $tcx, $def_id, $other, $cdata, $name => {
95
95
// We don't decode `table_direct`, since it's not a Lazy, but an actual value
96
96
$cdata
97
97
. root
@@ -102,11 +102,11 @@ macro_rules! provide_one {
102
102
}
103
103
}
104
104
} ;
105
- ( <$lt : tt> $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => $compute: block) => {
106
- fn $name<$lt >(
107
- $tcx: TyCtxt <$lt >,
108
- def_id_arg: ty:: query:: query_keys:: $name<$lt >,
109
- ) -> ty:: query:: query_values:: $name<$lt > {
105
+ ( $tcx: ident, $def_id: ident, $other: ident, $cdata: ident, $name: ident => $compute: block) => {
106
+ fn $name<' tcx >(
107
+ $tcx: TyCtxt <' tcx >,
108
+ def_id_arg: ty:: query:: query_keys:: $name<' tcx >,
109
+ ) -> ty:: query:: query_values:: $name<' tcx > {
110
110
let _prof_timer =
111
111
$tcx. prof. generic_activity( concat!( "metadata_decode_entry_" , stringify!( $name) ) ) ;
112
112
@@ -130,11 +130,11 @@ macro_rules! provide_one {
130
130
}
131
131
132
132
macro_rules! provide {
133
- ( <$lt : tt> $tcx: ident, $def_id: ident, $other: ident, $cdata: ident,
133
+ ( $tcx: ident, $def_id: ident, $other: ident, $cdata: ident,
134
134
$( $name: ident => { $( $compute: tt) * } ) * ) => {
135
135
pub fn provide_extern( providers: & mut ExternProviders ) {
136
136
$( provide_one! {
137
- <$lt> $tcx, $def_id, $other, $cdata, $name => { $( $compute) * }
137
+ $tcx, $def_id, $other, $cdata, $name => { $( $compute) * }
138
138
} ) *
139
139
140
140
* providers = ExternProviders {
@@ -187,7 +187,7 @@ impl IntoArgs for (CrateNum, SimplifiedType) {
187
187
}
188
188
}
189
189
190
- provide ! { < ' tcx> tcx, def_id, other, cdata,
190
+ provide ! { tcx, def_id, other, cdata,
191
191
explicit_item_bounds => { table }
192
192
explicit_predicates_of => { table }
193
193
generics_of => { table }
0 commit comments