1 //! HIR datatypes. See the [rustc dev guide] for more info.
3 //! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
5 #![feature(associated_type_defaults)]
6 #![feature(const_btree_new)]
7 #![feature(crate_visibility_modifier)]
10 #![feature(min_specialization)]
11 #![feature(never_type)]
12 #![feature(rustc_attrs)]
13 #![recursion_limit = "256"]
16 extern crate rustc_macros;
19 extern crate rustc_data_structures;
23 pub mod def_path_hash_map;
25 pub mod diagnostic_items;
26 pub use rustc_span::def_id;
30 pub mod itemlikevisit;
33 mod stable_hash_impls;
35 pub mod weak_lang_items;
42 pub use lang_items::{LangItem, LanguageItems};
43 pub use stable_hash_impls::HashStableContext;
44 pub use target::{MethodKind, Target};