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(crate_visibility_modifier)]
6 #![feature(const_fn)] // For the unsizing cast on `&[]`
7 #![feature(const_panic)]
8 #![feature(in_band_lifetimes)]
9 #![feature(or_patterns)]
10 #![recursion_limit = "256"]
13 extern crate rustc_macros;
16 extern crate rustc_data_structures;
21 pub use rustc_span::def_id;
22 pub mod fake_lang_items;
26 pub mod itemlikevisit;
29 mod stable_hash_impls;
31 pub mod weak_lang_items;
35 pub use lang_items::{LangItem, LanguageItems};
36 pub use stable_hash_impls::HashStableContext;
37 pub use target::{MethodKind, Target};