]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_hir/src/lib.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / compiler / rustc_hir / src / lib.rs
index d845c433d8c5f6874f7ff8e739a3582afca9579d..0f9e6fa7b98951648a32d3b3c52515bad42e9218 100644 (file)
@@ -18,6 +18,8 @@ extern crate rustc_macros;
 #[macro_use]
 extern crate rustc_data_structures;
 
+extern crate self as rustc_hir;
+
 mod arena;
 pub mod def;
 pub mod def_path_hash_map;
@@ -27,7 +29,6 @@ pub use rustc_span::def_id;
 mod hir;
 pub mod hir_id;
 pub mod intravisit;
-pub mod itemlikevisit;
 pub mod lang_items;
 pub mod pat_util;
 mod stable_hash_impls;
@@ -42,3 +43,5 @@ pub use hir_id::*;
 pub use lang_items::{LangItem, LanguageItems};
 pub use stable_hash_impls::HashStableContext;
 pub use target::{MethodKind, Target};
+
+arena_types!(rustc_arena::declare_arena);