]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_target/src/abi/mod.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / compiler / rustc_target / src / abi / mod.rs
index 53c9878ab8740be4c8187d1eb90a07e9f350dbf0..88a0a1f8ecfdedafd60a8d9f6f516f488f06ca79 100644 (file)
@@ -20,9 +20,8 @@ fn to_json(&self) -> Json {
 }
 
 rustc_index::newtype_index! {
-    pub struct VariantIdx {
-        derive [HashStable_Generic]
-    }
+    #[derive(HashStable_Generic)]
+    pub struct VariantIdx {}
 }
 
 #[derive(Copy, Clone, PartialEq, Eq, Hash, HashStable_Generic)]