]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/member_constraints.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / compiler / rustc_borrowck / src / member_constraints.rs
index b5e00f471d26a0d266e021e330cfeb78f56fef1f..b63e286676ff48fc2129344547850f320da554d0 100644 (file)
@@ -55,9 +55,8 @@ pub(crate) struct NllMemberConstraint<'tcx> {
 }
 
 rustc_index::newtype_index! {
-    pub(crate) struct NllMemberConstraintIndex {
-        DEBUG_FORMAT = "MemberConstraintIndex({})"
-    }
+    #[debug_format = "MemberConstraintIndex({})"]
+    pub(crate) struct NllMemberConstraintIndex {}
 }
 
 impl Default for MemberConstraintSet<'_, ty::RegionVid> {