File tree 2 files changed +4
-2
lines changed
rustc_hir_analysis/src/collect
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ fn associated_type_bounds<'tcx>(
59
59
/// impl trait it isn't possible to write a suitable predicate on the
60
60
/// containing function and for type-alias impl trait we don't have a backwards
61
61
/// compatibility issue.
62
- #[ instrument( level = "trace" , skip( tcx) , ret ) ]
62
+ #[ instrument( level = "trace" , skip( tcx, item_ty ) ) ]
63
63
fn opaque_type_bounds < ' tcx > (
64
64
tcx : TyCtxt < ' tcx > ,
65
65
opaque_def_id : LocalDefId ,
Original file line number Diff line number Diff line change @@ -620,7 +620,9 @@ macro_rules! define_queries {
620
620
tcx,
621
621
{
622
622
let ret = call_provider!( [ $( $modifiers) * ] [ tcx, $name, key] ) ;
623
- tracing:: trace!( ?ret) ;
623
+ rustc_middle:: ty:: print:: with_reduced_queries!( {
624
+ tracing:: trace!( ?ret) ;
625
+ } ) ;
624
626
ret
625
627
}
626
628
)
You can’t perform that action at this time.
0 commit comments