blob: 761fc680d2ff65064bad69642ac7057182cdd6f5 [file]
//! HIR datatypes. See the [rustc dev guide] for more info.
//!
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
// tidy-alphabetical-start
#![feature(associated_type_defaults)]
#![feature(closure_track_caller)]
#![feature(const_default)]
#![feature(const_trait_impl)]
#![feature(default_field_values)]
#![feature(derive_const)]
#![feature(exhaustive_patterns)]
#![feature(never_type)]
#![feature(variant_count)]
#![recursion_limit = "256"]
// tidy-alphabetical-end
mod arena;
pub mod attrs;
pub mod def;
pub mod def_path_hash_map;
pub mod definitions;
pub mod diagnostic_items;
mod hir;
pub mod intravisit;
pub mod lang_items;
pub mod lints;
pub mod pat_util;
mod stability;
mod stable_hash_impls;
pub mod target;
pub mod weak_lang_items;
#[cfg(test)]
mod tests;
#[doc(no_inline)]
pub use hir::*;
pub use lang_items::{LangItem, LanguageItems};
pub use rustc_hir_id::*;
pub use rustc_span::def_id;
pub use stability::*;
pub use target::{MethodKind, Target};
pub use crate::arena::Arena;