]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/cstore_impl.rs
Auto merge of #54265 - arielb1:civilize-proc-macros, r=alexcrichton
[rust.git] / src / librustc_metadata / cstore_impl.rs
index d2285e8cbf1bea5ac1884b1bffdf2453c5023751..23f941f744b3b88fead2bb8cfcc3159d8d0480ae 100644 (file)
@@ -259,12 +259,6 @@ fn into_args(self) -> (DefId, DefId) { (self.0.as_def_id(), self.1) }
         let cnum = cdata.cnum;
         assert!(cnum != LOCAL_CRATE);
 
-        // If this crate is a custom derive crate, then we're not even going to
-        // link those in so we skip those crates.
-        if cdata.root.macro_derive_registrar.is_some() {
-            return Arc::new(Vec::new())
-        }
-
         Arc::new(cdata.exported_symbols(tcx))
     }
 }