@@ -245,7 +245,7 @@ pub enum ExtraConstraintInfo {
245245 PlaceholderFromPredicate ( Span ) ,
246246}
247247
248- #[ instrument( skip( infcx, sccs) , level = "debug " ) ]
248+ #[ instrument( skip( infcx, sccs) , level = "trace " ) ]
249249fn sccs_info < ' cx , ' tcx > (
250250 infcx : & ' cx BorrowckInferCtxt < ' cx , ' tcx > ,
251251 sccs : Rc < Sccs < RegionVid , ConstraintSccIndex > > ,
@@ -655,7 +655,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
655655 /// Performs region inference and report errors if we see any
656656 /// unsatisfiable constraints. If this is a closure, returns the
657657 /// region requirements to propagate to our creator, if any.
658- #[ instrument( skip( self , infcx, body, polonius_output) , level = "debug " ) ]
658+ #[ instrument( skip( self , infcx, body, polonius_output) , level = "trace " ) ]
659659 pub ( super ) fn solve (
660660 & mut self ,
661661 infcx : & InferCtxt < ' tcx > ,
@@ -717,7 +717,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
717717 /// for each region variable until all the constraints are
718718 /// satisfied. Note that some values may grow **too** large to be
719719 /// feasible, but we check this later.
720- #[ instrument( skip( self , _body) , level = "debug " ) ]
720+ #[ instrument( skip( self , _body) , level = "trace " ) ]
721721 fn propagate_constraints ( & mut self , _body : & Body < ' tcx > ) {
722722 trace ! ( "constraints={:#?}" , {
723723 let mut constraints: Vec <_> = self . outlives_constraints( ) . collect( ) ;
@@ -746,7 +746,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
746746 /// computed, by unioning the values of its successors.
747747 /// Assumes that all successors have been computed already
748748 /// (which is assured by iterating over SCCs in dependency order).
749- #[ instrument( skip( self ) , level = "debug " ) ]
749+ #[ instrument( skip( self ) , level = "trace " ) ]
750750 fn compute_value_for_scc ( & mut self , scc_a : ConstraintSccIndex ) {
751751 let constraint_sccs = self . constraint_sccs . clone ( ) ;
752752
@@ -787,7 +787,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
787787 /// is considered a *lower bound*. If possible, we will modify
788788 /// the constraint to set it equal to one of the option regions.
789789 /// If we make any changes, returns true, else false.
790- #[ instrument( skip( self , member_constraint_index) , level = "debug " ) ]
790+ #[ instrument( skip( self , member_constraint_index) , level = "trace " ) ]
791791 fn apply_member_constraint (
792792 & mut self ,
793793 scc : ConstraintSccIndex ,
@@ -1014,7 +1014,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
10141014 /// The idea then is to lower the `T: 'X` constraint into multiple
10151015 /// bounds -- e.g., if `'X` is the union of two free lifetimes,
10161016 /// `'1` and `'2`, then we would create `T: '1` and `T: '2`.
1017- #[ instrument( level = "debug " , skip( self , infcx, propagated_outlives_requirements) ) ]
1017+ #[ instrument( level = "trace " , skip( self , infcx, propagated_outlives_requirements) ) ]
10181018 fn try_promote_type_test (
10191019 & self ,
10201020 infcx : & InferCtxt < ' tcx > ,
@@ -1114,7 +1114,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
11141114 /// variables in the type `T` with an equal universal region from the
11151115 /// closure signature.
11161116 /// This is not always possible, so this is a fallible process.
1117- #[ instrument( level = "debug " , skip( self , infcx) ) ]
1117+ #[ instrument( level = "trace " , skip( self , infcx) ) ]
11181118 fn try_promote_type_test_subject (
11191119 & self ,
11201120 infcx : & InferCtxt < ' tcx > ,
@@ -1195,7 +1195,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
11951195 /// include the CFG anyhow.
11961196 /// - For each `end('x)` element in `'r`, compute the mutual LUB, yielding
11971197 /// a result `'y`.
1198- #[ instrument( skip( self ) , level = "debug " , ret) ]
1198+ #[ instrument( skip( self ) , level = "trace " , ret) ]
11991199 pub ( crate ) fn universal_upper_bound ( & self , r : RegionVid ) -> RegionVid {
12001200 trace ! ( r = %self . region_value_str( r) ) ;
12011201
@@ -1221,7 +1221,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
12211221 /// Therefore, this method should only be used in diagnostic code,
12221222 /// where displaying *some* named universal region is better than
12231223 /// falling back to 'static.
1224- #[ instrument( level = "debug " , skip( self ) ) ]
1224+ #[ instrument( level = "trace " , skip( self ) ) ]
12251225 pub ( crate ) fn approx_universal_upper_bound ( & self , r : RegionVid ) -> RegionVid {
12261226 trace ! ( "{}" , self . region_value_str( r) ) ;
12271227
@@ -1372,7 +1372,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
13721372 }
13731373
13741374 // Evaluate whether `sup_region: sub_region`.
1375- #[ instrument( skip( self ) , level = "debug " , ret) ]
1375+ #[ instrument( skip( self ) , level = "trace " , ret) ]
13761376 fn eval_outlives ( & self , sup_region : RegionVid , sub_region : RegionVid ) -> bool {
13771377 trace ! (
13781378 "sup_region's value = {:?} universal={:?}" ,
@@ -1589,7 +1589,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
15891589 ///
15901590 /// Things that are to be propagated are accumulated into the
15911591 /// `outlives_requirements` vector.
1592- #[ instrument( skip( self , propagated_outlives_requirements, errors_buffer) , level = "debug " ) ]
1592+ #[ instrument( skip( self , propagated_outlives_requirements, errors_buffer) , level = "trace " ) ]
15931593 fn check_universal_region (
15941594 & self ,
15951595 longer_fr : RegionVid ,
@@ -1760,7 +1760,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
17601760 trace ! ( "check_bound_universal_region: all bounds satisfied" ) ;
17611761 }
17621762
1763- #[ instrument( level = "debug " , skip( self , infcx, errors_buffer) ) ]
1763+ #[ instrument( level = "trace " , skip( self , infcx, errors_buffer) ) ]
17641764 fn check_member_constraints (
17651765 & self ,
17661766 infcx : & InferCtxt < ' tcx > ,
@@ -2042,7 +2042,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
20422042 /// creating a constraint path that forces `R` to outlive
20432043 /// `from_region`, and then finding the best choices within that
20442044 /// path to blame.
2045- #[ instrument( level = "debug " , skip( self , target_test) ) ]
2045+ #[ instrument( level = "trace " , skip( self , target_test) ) ]
20462046 pub ( crate ) fn best_blame_constraint (
20472047 & self ,
20482048 from_region : RegionVid ,
0 commit comments