]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/location.rs
Rollup merge of #106549 - wcampbell0x2a:use-fmt-named-parameters-borrowck, r=estebank
[rust.git] / compiler / rustc_borrowck / src / location.rs
index 9fa7e218b1b6f65ceb09a92420043f5f823f41f1..288b7d85be2d41d4d5e89fe1eab90f597f1668bd 100644 (file)
@@ -20,9 +20,8 @@ pub struct LocationTable {
 }
 
 rustc_index::newtype_index! {
-    pub struct LocationIndex {
-        DEBUG_FORMAT = "LocationIndex({})"
-    }
+    #[debug_format = "LocationIndex({})"]
+    pub struct LocationIndex {}
 }
 
 #[derive(Copy, Clone, Debug)]