@@ -110,7 +110,7 @@ impl<'tcx> MatchAgainstHigherRankedOutlives<'tcx> {
110
110
111
111
/// Binds the pattern variable `br` to `value`; returns an `Err` if the pattern
112
112
/// is already bound to a different value.
113
- #[ instrument( level = "debug " , skip( self ) ) ]
113
+ #[ instrument( level = "trace " , skip( self ) ) ]
114
114
fn bind (
115
115
& mut self ,
116
116
br : ty:: BoundRegion ,
@@ -133,10 +133,6 @@ impl<'tcx> MatchAgainstHigherRankedOutlives<'tcx> {
133
133
}
134
134
135
135
impl < ' tcx > TypeRelation < TyCtxt < ' tcx > > for MatchAgainstHigherRankedOutlives < ' tcx > {
136
- fn tag ( & self ) -> & ' static str {
137
- "MatchAgainstHigherRankedOutlives"
138
- }
139
-
140
136
fn cx ( & self ) -> TyCtxt < ' tcx > {
141
137
self . tcx
142
138
}
@@ -154,13 +150,12 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
154
150
if variance != ty:: Bivariant { self . relate ( a, b) } else { Ok ( a) }
155
151
}
156
152
157
- #[ instrument( skip( self ) , level = "debug " ) ]
153
+ #[ instrument( skip( self ) , level = "trace " ) ]
158
154
fn regions (
159
155
& mut self ,
160
156
pattern : ty:: Region < ' tcx > ,
161
157
value : ty:: Region < ' tcx > ,
162
158
) -> RelateResult < ' tcx , ty:: Region < ' tcx > > {
163
- debug ! ( "self.pattern_depth = {:?}" , self . pattern_depth) ;
164
159
if let ty:: RegionKind :: ReBound ( depth, br) = pattern. kind ( )
165
160
&& depth == self . pattern_depth
166
161
{
@@ -172,7 +167,7 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
172
167
}
173
168
}
174
169
175
- #[ instrument( skip( self ) , level = "debug " ) ]
170
+ #[ instrument( skip( self ) , level = "trace " ) ]
176
171
fn tys ( & mut self , pattern : Ty < ' tcx > , value : Ty < ' tcx > ) -> RelateResult < ' tcx , Ty < ' tcx > > {
177
172
// FIXME(non_lifetime_binders): What to do here?
178
173
if matches ! ( pattern. kind( ) , ty:: Error ( _) | ty:: Bound ( ..) ) {
@@ -185,20 +180,20 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
185
180
}
186
181
}
187
182
188
- #[ instrument( skip( self ) , level = "debug " ) ]
183
+ #[ instrument( skip( self ) , level = "trace " ) ]
189
184
fn consts (
190
185
& mut self ,
191
186
pattern : ty:: Const < ' tcx > ,
192
187
value : ty:: Const < ' tcx > ,
193
188
) -> RelateResult < ' tcx , ty:: Const < ' tcx > > {
194
- debug ! ( "{}.consts({:?}, {:?})" , self . tag( ) , pattern, value) ;
195
189
if pattern == value {
196
190
Ok ( pattern)
197
191
} else {
198
192
relate:: structurally_relate_consts ( self , pattern, value)
199
193
}
200
194
}
201
195
196
+ #[ instrument( skip( self ) , level = "trace" ) ]
202
197
fn binders < T > (
203
198
& mut self ,
204
199
pattern : ty:: Binder < ' tcx , T > ,
0 commit comments