]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_hir/src/lib.rs
Rollup merge of #81544 - JulianKnodt:sat_where, r=lcnr
[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(const_fn)] // For the unsizing cast on `&[]`
7 #![feature(const_panic)]
8 #![feature(in_band_lifetimes)]
9 #![feature(iterator_fold_self)]
10 #![feature(once_cell)]
11 #![feature(or_patterns)]
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 definitions;
23 pub use rustc_span::def_id;
24 mod hir;
25 pub mod hir_id;
26 pub mod intravisit;
27 pub mod itemlikevisit;
28 pub mod lang_items;
29 pub mod pat_util;
30 mod stable_hash_impls;
31 mod target;
32 pub mod weak_lang_items;
33
34 pub use hir::*;
35 pub use hir_id::*;
36 pub use lang_items::{LangItem, LanguageItems};
37 pub use stable_hash_impls::HashStableContext;
38 pub use target::{MethodKind, Target};