]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_hir/src/lib.rs
Auto merge of #89323 - estebank:derive-binop, r=petrochenkov
[rust.git] / compiler / rustc_hir / src / lib.rs
1 //! HIR datatypes. See the [rustc dev guide] for more info.
2 //!
3 //! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
4
5 #![feature(crate_visibility_modifier)]
6 #![feature(in_band_lifetimes)]
7 #![feature(once_cell)]
8 #![feature(min_specialization)]
9 #![recursion_limit = "256"]
10
11 #[macro_use]
12 extern crate rustc_macros;
13
14 #[macro_use]
15 extern crate rustc_data_structures;
16
17 mod arena;
18 pub mod def;
19 pub mod def_path_hash_map;
20 pub mod definitions;
21 pub use rustc_span::def_id;
22 mod hir;
23 pub mod hir_id;
24 pub mod intravisit;
25 pub mod itemlikevisit;
26 pub mod lang_items;
27 pub mod pat_util;
28 mod stable_hash_impls;
29 mod target;
30 pub mod weak_lang_items;
31
32 #[cfg(test)]
33 mod tests;
34
35 pub use hir::*;
36 pub use hir_id::*;
37 pub use lang_items::{LangItem, LanguageItems};
38 pub use stable_hash_impls::HashStableContext;
39 pub use target::{MethodKind, Target};