@@ -1705,29 +1705,29 @@ impl<'tcx> RegionInferenceContext<'tcx> {
1705
1705
} ) ;
1706
1706
}
1707
1707
1708
+ #[ instrument( level = "debug" , skip( self , infcx, errors_buffer) ) ]
1708
1709
fn check_member_constraints (
1709
1710
& self ,
1710
1711
infcx : & InferCtxt < ' tcx > ,
1711
1712
errors_buffer : & mut RegionErrors < ' tcx > ,
1712
1713
) {
1713
1714
let member_constraints = self . member_constraints . clone ( ) ;
1714
1715
for m_c_i in member_constraints. all_indices ( ) {
1715
- debug ! ( "check_member_constraint(m_c_i={:?})" , m_c_i) ;
1716
+ debug ! ( ? m_c_i) ;
1716
1717
let m_c = & member_constraints[ m_c_i] ;
1717
1718
let member_region_vid = m_c. member_region_vid ;
1718
1719
debug ! (
1719
- "check_member_constraint: member_region_vid={:?} with value {}" ,
1720
- member_region_vid,
1721
- self . region_value_str( member_region_vid) ,
1720
+ ?member_region_vid,
1721
+ value = ?self . region_value_str( member_region_vid) ,
1722
1722
) ;
1723
1723
let choice_regions = member_constraints. choice_regions ( m_c_i) ;
1724
- debug ! ( "check_member_constraint: choice_regions={:?}" , choice_regions) ;
1724
+ debug ! ( ? choice_regions) ;
1725
1725
1726
1726
// Did the member region wind up equal to any of the option regions?
1727
1727
if let Some ( o) =
1728
1728
choice_regions. iter ( ) . find ( |& & o_r| self . eval_equal ( o_r, m_c. member_region_vid ) )
1729
1729
{
1730
- debug ! ( "check_member_constraint: evaluated as equal to {:?}" , o) ;
1730
+ debug ! ( "evaluated as equal to {:?}" , o) ;
1731
1731
continue ;
1732
1732
}
1733
1733
0 commit comments