]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | //! HIR datatypes. See the [rustc dev guide] for more info. |
dfeec247 | 2 | //! |
ba9703b0 | 3 | //! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html |
dfeec247 XL |
4 | |
5 | #![feature(crate_visibility_modifier)] | |
dfeec247 | 6 | #![feature(in_band_lifetimes)] |
1b1a35ee | 7 | #![feature(once_cell)] |
17df50a5 | 8 | #![feature(min_specialization)] |
dfeec247 XL |
9 | #![recursion_limit = "256"] |
10 | ||
3dfed10e XL |
11 | #[macro_use] |
12 | extern crate rustc_macros; | |
13 | ||
dfeec247 XL |
14 | #[macro_use] |
15 | extern crate rustc_data_structures; | |
16 | ||
ba9703b0 | 17 | mod arena; |
dfeec247 | 18 | pub mod def; |
c295e0f8 | 19 | pub mod def_path_hash_map; |
ba9703b0 | 20 | pub mod definitions; |
c295e0f8 | 21 | pub mod diagnostic_items; |
74b04a01 | 22 | pub use rustc_span::def_id; |
dfeec247 XL |
23 | mod hir; |
24 | pub mod hir_id; | |
25 | pub mod intravisit; | |
26 | pub mod itemlikevisit; | |
74b04a01 | 27 | pub mod lang_items; |
dfeec247 | 28 | pub mod pat_util; |
dfeec247 | 29 | mod stable_hash_impls; |
74b04a01 XL |
30 | mod target; |
31 | pub mod weak_lang_items; | |
32 | ||
6a06907d XL |
33 | #[cfg(test)] |
34 | mod tests; | |
35 | ||
dfeec247 XL |
36 | pub use hir::*; |
37 | pub use hir_id::*; | |
74b04a01 | 38 | pub use lang_items::{LangItem, LanguageItems}; |
dfeec247 | 39 | pub use stable_hash_impls::HashStableContext; |
74b04a01 | 40 | pub use target::{MethodKind, Target}; |