]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lib.rs
Revert "Rollup merge of #67727 - Dylan-DPC:stabilise/remove_item, r=alexcrichton"
[rust.git] / src / librustc / lib.rs
index 55713aedbcb67589677696ef39d1f2f6004c98b6..97e59e65d71ae104a320e1f740cb60762d2ec73e 100644 (file)
@@ -66,8 +66,6 @@
 extern crate bitflags;
 #[macro_use]
 extern crate scoped_tls;
-#[cfg(windows)]
-extern crate libc;
 #[macro_use]
 extern crate rustc_macros;
 #[macro_use]
 pub mod ich;
 pub mod infer;
 pub mod lint;
-
-pub mod middle {
-    pub mod cstore;
-    pub mod dependency_format;
-    pub mod diagnostic_items;
-    pub mod exported_symbols;
-    pub mod free_region;
-    pub mod lang_items;
-    pub mod lib_features;
-    pub mod privacy;
-    pub mod reachable;
-    pub mod recursion_limit;
-    pub mod region;
-    pub mod resolve_lifetime;
-    pub mod stability;
-    pub mod weak_lang_items;
-}
-
+pub mod middle;
 pub mod mir;
 pub use rustc_session as session;
 pub mod traits;
@@ -120,9 +101,7 @@ pub mod middle {
 
 pub mod util {
     pub mod bug;
-    pub mod captures;
     pub mod common;
-    pub mod nodemap;
 }
 
 // Allows macros to refer to this crate as `::rustc`