| //! HIR datatypes. See the [rustc dev guide] for more info. |
| //! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html |
| #![feature(associated_type_defaults)] |
| #![feature(closure_track_caller)] |
| #![feature(const_btree_len)] |
| #![feature(min_specialization)] |
| #![recursion_limit = "256"] |
| #![deny(rustc::untranslatable_diagnostic)] |
| #![deny(rustc::diagnostic_outside_of_impl)] |
| extern crate rustc_macros; |
| extern crate rustc_data_structures; |
| extern crate self as rustc_hir; |
| pub mod def_path_hash_map; |
| pub mod diagnostic_items; |
| pub use rustc_span::def_id; |
| pub use lang_items::{LangItem, LanguageItems}; |
| pub use stable_hash_impls::HashStableContext; |
| pub use target::{MethodKind, Target}; |
| arena_types!(rustc_arena::declare_arena); |