@@ -47,6 +47,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
47
47
/// Calling `universal_upper_bound` for such a region gives `fr_fn_body`,
48
48
/// which has no `external_name` in which case we use `'empty` as the
49
49
/// region to pass to `infer_opaque_definition_from_instantiation`.
50
+ #[ instrument( skip( self , infcx) ) ]
50
51
pub ( in crate :: borrow_check) fn infer_opaque_types (
51
52
& self ,
52
53
infcx : & InferCtxt < ' _ , ' tcx > ,
@@ -56,10 +57,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
56
57
opaque_ty_decls
57
58
. into_iter ( )
58
59
. map ( |( opaque_def_id, ty:: ResolvedOpaqueTy { concrete_type, substs } ) | {
59
- debug ! (
60
- "infer_opaque_types(concrete_type = {:?}, substs = {:?})" ,
61
- concrete_type, substs
62
- ) ;
60
+ debug ! ( ?concrete_type, ?substs) ;
63
61
64
62
let mut subst_regions = vec ! [ self . universal_regions. fr_static] ;
65
63
let universal_substs =
@@ -110,10 +108,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
110
108
}
111
109
} ) ;
112
110
113
- debug ! (
114
- "infer_opaque_types(universal_concrete_type = {:?}, universal_substs = {:?})" ,
115
- universal_concrete_type, universal_substs
116
- ) ;
111
+ debug ! ( ?universal_concrete_type, ?universal_substs) ;
117
112
118
113
let remapped_type = infcx. infer_opaque_definition_from_instantiation (
119
114
opaque_def_id,
0 commit comments