@@ -110,7 +110,7 @@ impl<'tcx> MatchAgainstHigherRankedOutlives<'tcx> {
110110
111111 /// Binds the pattern variable `br` to `value`; returns an `Err` if the pattern
112112 /// is already bound to a different value.
113- #[ instrument( level = "debug " , skip( self ) ) ]
113+ #[ instrument( level = "trace " , skip( self ) ) ]
114114 fn bind (
115115 & mut self ,
116116 br : ty:: BoundRegion ,
@@ -133,10 +133,6 @@ impl<'tcx> MatchAgainstHigherRankedOutlives<'tcx> {
133133}
134134
135135impl < ' tcx > TypeRelation < TyCtxt < ' tcx > > for MatchAgainstHigherRankedOutlives < ' tcx > {
136- fn tag ( & self ) -> & ' static str {
137- "MatchAgainstHigherRankedOutlives"
138- }
139-
140136 fn cx ( & self ) -> TyCtxt < ' tcx > {
141137 self . tcx
142138 }
@@ -154,13 +150,12 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
154150 if variance != ty:: Bivariant { self . relate ( a, b) } else { Ok ( a) }
155151 }
156152
157- #[ instrument( skip( self ) , level = "debug " ) ]
153+ #[ instrument( skip( self ) , level = "trace " ) ]
158154 fn regions (
159155 & mut self ,
160156 pattern : ty:: Region < ' tcx > ,
161157 value : ty:: Region < ' tcx > ,
162158 ) -> RelateResult < ' tcx , ty:: Region < ' tcx > > {
163- debug ! ( "self.pattern_depth = {:?}" , self . pattern_depth) ;
164159 if let ty:: RegionKind :: ReBound ( depth, br) = pattern. kind ( )
165160 && depth == self . pattern_depth
166161 {
@@ -172,7 +167,7 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
172167 }
173168 }
174169
175- #[ instrument( skip( self ) , level = "debug " ) ]
170+ #[ instrument( skip( self ) , level = "trace " ) ]
176171 fn tys ( & mut self , pattern : Ty < ' tcx > , value : Ty < ' tcx > ) -> RelateResult < ' tcx , Ty < ' tcx > > {
177172 // FIXME(non_lifetime_binders): What to do here?
178173 if matches ! ( pattern. kind( ) , ty:: Error ( _) | ty:: Bound ( ..) ) {
@@ -185,20 +180,20 @@ impl<'tcx> TypeRelation<TyCtxt<'tcx>> for MatchAgainstHigherRankedOutlives<'tcx>
185180 }
186181 }
187182
188- #[ instrument( skip( self ) , level = "debug " ) ]
183+ #[ instrument( skip( self ) , level = "trace " ) ]
189184 fn consts (
190185 & mut self ,
191186 pattern : ty:: Const < ' tcx > ,
192187 value : ty:: Const < ' tcx > ,
193188 ) -> RelateResult < ' tcx , ty:: Const < ' tcx > > {
194- debug ! ( "{}.consts({:?}, {:?})" , self . tag( ) , pattern, value) ;
195189 if pattern == value {
196190 Ok ( pattern)
197191 } else {
198192 relate:: structurally_relate_consts ( self , pattern, value)
199193 }
200194 }
201195
196+ #[ instrument( skip( self ) , level = "trace" ) ]
202197 fn binders < T > (
203198 & mut self ,
204199 pattern : ty:: Binder < ' tcx , T > ,
0 commit comments