@@ -458,7 +458,7 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
458
458
}
459
459
}
460
460
461
- #[ instrument( level = "debug " , skip( self ) ) ]
461
+ #[ instrument( level = "trace " , skip( self ) ) ]
462
462
pub ( super ) fn add_normalizes_to_goal ( & mut self , goal : Goal < ' tcx , ty:: NormalizesTo < ' tcx > > ) {
463
463
self . inspect . add_normalizes_to_goal ( self . infcx , self . max_input_universe , goal) ;
464
464
self . nested_goals . normalizes_to_goals . push ( goal) ;
@@ -472,7 +472,7 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
472
472
473
473
// Recursively evaluates all the goals added to this `EvalCtxt` to completion, returning
474
474
// the certainty of all the goals.
475
- #[ instrument( level = "debug " , skip( self ) ) ]
475
+ #[ instrument( level = "trace " , skip( self ) ) ]
476
476
pub ( super ) fn try_evaluate_added_goals ( & mut self ) -> Result < Certainty , NoSolution > {
477
477
self . inspect . start_evaluate_added_goals ( ) ;
478
478
let mut response = Ok ( Certainty :: overflow ( false ) ) ;
@@ -526,7 +526,7 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
526
526
unconstrained_goal,
527
527
) ?;
528
528
// Add the nested goals from normalization to our own nested goals.
529
- debug ! ( ?nested_goals) ;
529
+ trace ! ( ?nested_goals) ;
530
530
goals. goals . extend ( nested_goals) ;
531
531
532
532
// Finally, equate the goal's RHS with the unconstrained var.
@@ -622,7 +622,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
622
622
///
623
623
/// This is the case if the `term` does not occur in any other part of the predicate
624
624
/// and is able to name all other placeholder and inference variables.
625
- #[ instrument( level = "debug " , skip( self ) , ret) ]
625
+ #[ instrument( level = "trace " , skip( self ) , ret) ]
626
626
pub ( super ) fn term_is_fully_unconstrained (
627
627
& self ,
628
628
goal : Goal < ' tcx , ty:: NormalizesTo < ' tcx > > ,
@@ -718,7 +718,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
718
718
&& goal. param_env . visit_with ( & mut visitor) . is_continue ( )
719
719
}
720
720
721
- #[ instrument( level = "debug " , skip( self , param_env) , ret) ]
721
+ #[ instrument( level = "trace " , skip( self , param_env) , ret) ]
722
722
pub ( super ) fn eq < T : ToTrace < ' tcx > > (
723
723
& mut self ,
724
724
param_env : ty:: ParamEnv < ' tcx > ,
@@ -733,7 +733,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
733
733
self . add_goals ( GoalSource :: Misc , obligations. into_iter ( ) . map ( |o| o. into ( ) ) ) ;
734
734
} )
735
735
. map_err ( |e| {
736
- debug ! ( ?e, "failed to equate" ) ;
736
+ trace ! ( ?e, "failed to equate" ) ;
737
737
NoSolution
738
738
} )
739
739
}
@@ -743,7 +743,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
743
743
/// Normally we emit a nested `AliasRelate` when equating an inference
744
744
/// variable and an alias. This causes us to instead constrain the inference
745
745
/// variable to the alias without emitting a nested alias relate goals.
746
- #[ instrument( level = "debug " , skip( self , param_env) , ret) ]
746
+ #[ instrument( level = "trace " , skip( self , param_env) , ret) ]
747
747
pub ( super ) fn relate_rigid_alias_non_alias (
748
748
& mut self ,
749
749
param_env : ty:: ParamEnv < ' tcx > ,
@@ -781,7 +781,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
781
781
/// This sohuld only be used when we're either instantiating a previously
782
782
/// unconstrained "return value" or when we're sure that all aliases in
783
783
/// the types are rigid.
784
- #[ instrument( level = "debug " , skip( self , param_env) , ret) ]
784
+ #[ instrument( level = "trace " , skip( self , param_env) , ret) ]
785
785
pub ( super ) fn eq_structurally_relating_aliases < T : ToTrace < ' tcx > > (
786
786
& mut self ,
787
787
param_env : ty:: ParamEnv < ' tcx > ,
@@ -798,7 +798,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
798
798
Ok ( ( ) )
799
799
}
800
800
801
- #[ instrument( level = "debug " , skip( self , param_env) , ret) ]
801
+ #[ instrument( level = "trace " , skip( self , param_env) , ret) ]
802
802
pub ( super ) fn sub < T : ToTrace < ' tcx > > (
803
803
& mut self ,
804
804
param_env : ty:: ParamEnv < ' tcx > ,
@@ -813,12 +813,12 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
813
813
self . add_goals ( GoalSource :: Misc , obligations. into_iter ( ) . map ( |o| o. into ( ) ) ) ;
814
814
} )
815
815
. map_err ( |e| {
816
- debug ! ( ?e, "failed to subtype" ) ;
816
+ trace ! ( ?e, "failed to subtype" ) ;
817
817
NoSolution
818
818
} )
819
819
}
820
820
821
- #[ instrument( level = "debug " , skip( self , param_env) , ret) ]
821
+ #[ instrument( level = "trace " , skip( self , param_env) , ret) ]
822
822
pub ( super ) fn relate < T : ToTrace < ' tcx > > (
823
823
& mut self ,
824
824
param_env : ty:: ParamEnv < ' tcx > ,
@@ -834,7 +834,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
834
834
self . add_goals ( GoalSource :: Misc , obligations. into_iter ( ) . map ( |o| o. into ( ) ) ) ;
835
835
} )
836
836
. map_err ( |e| {
837
- debug ! ( ?e, "failed to relate" ) ;
837
+ trace ! ( ?e, "failed to relate" ) ;
838
838
NoSolution
839
839
} )
840
840
}
@@ -859,7 +859,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
859
859
obligations. into_iter ( ) . map ( |o| o. into ( ) ) . collect ( )
860
860
} )
861
861
. map_err ( |e| {
862
- debug ! ( ?e, "failed to equate" ) ;
862
+ trace ! ( ?e, "failed to equate" ) ;
863
863
NoSolution
864
864
} )
865
865
}
0 commit comments