2020-01-01 22:18:45 -06:00
|
|
|
//! HIR datatypes. See the [rustc guide] for more info.
|
|
|
|
//!
|
|
|
|
//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html
|
|
|
|
|
|
|
|
#![feature(crate_visibility_modifier)]
|
|
|
|
#![feature(const_fn)]
|
|
|
|
#![feature(in_band_lifetimes)]
|
2019-12-24 20:51:27 -06:00
|
|
|
#![feature(specialization)]
|
2020-01-02 02:53:15 -06:00
|
|
|
#![recursion_limit = "256"]
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate rustc_data_structures;
|
2019-12-24 20:51:27 -06:00
|
|
|
|
2020-01-01 22:18:45 -06:00
|
|
|
pub mod def;
|
2019-12-24 20:51:27 -06:00
|
|
|
pub mod def_id;
|
2020-01-01 22:18:45 -06:00
|
|
|
mod hir;
|
2019-12-25 08:26:30 -06:00
|
|
|
pub mod hir_id;
|
2020-01-01 22:18:45 -06:00
|
|
|
pub mod itemlikevisit;
|
|
|
|
pub mod pat_util;
|
|
|
|
pub mod print;
|
|
|
|
mod stable_hash_impls;
|
|
|
|
pub use hir::*;
|
2019-12-25 08:26:30 -06:00
|
|
|
pub use hir_id::*;
|
2020-01-01 22:18:45 -06:00
|
|
|
pub use stable_hash_impls::HashStableContext;
|