]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_analysis/src/coherence/inherent_impls_overlap.rs
Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb
[rust.git] / compiler / rustc_hir_analysis / src / coherence / inherent_impls_overlap.rs
index 972769eb1970735f7736ddf7168f94ac51072fa8..a9331af4eab32f622d7ccec1340604df7faa32b9 100644 (file)
@@ -198,10 +198,10 @@ fn check_item(&mut self, id: hir::ItemId) {
             // entire graph when there are many connected regions.
 
             rustc_index::newtype_index! {
-                pub struct RegionId {
-                    ENCODABLE = custom
-                }
+                #[custom_encodable]
+                pub struct RegionId {}
             }
+
             struct ConnectedRegion {
                 idents: SmallVec<[Symbol; 8]>,
                 impl_blocks: FxHashSet<usize>,