]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_hir/src/lib.rs
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[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(associated_type_defaults)]
6 #![feature(const_btree_new)]
7 #![feature(crate_visibility_modifier)]
8 #![feature(let_else)]
9 #![feature(once_cell)]
10 #![feature(min_specialization)]
11 #![feature(never_type)]
12 #![recursion_limit = "256"]
13
14 #[macro_use]
15 extern crate rustc_macros;
16
17 #[macro_use]
18 extern crate rustc_data_structures;
19
20 mod arena;
21 pub mod def;
22 pub mod def_path_hash_map;
23 pub mod definitions;
24 pub mod diagnostic_items;
25 pub use rustc_span::def_id;
26 mod hir;
27 pub mod hir_id;
28 pub mod intravisit;
29 pub mod itemlikevisit;
30 pub mod lang_items;
31 pub mod pat_util;
32 mod stable_hash_impls;
33 mod target;
34 pub mod weak_lang_items;
35
36 #[cfg(test)]
37 mod tests;
38
39 pub use hir::*;
40 pub use hir_id::*;
41 pub use lang_items::{LangItem, LanguageItems};
42 pub use stable_hash_impls::HashStableContext;
43 pub use target::{MethodKind, Target};