Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.2 KiB
Rust
Raw Normal View History

2020-03-05 18:07:42 -03:00
//! HIR datatypes. See the [rustc dev guide] for more info.
//!
//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/hir.html
#![feature(associated_type_defaults)]
#![feature(closure_track_caller)]
#![feature(const_btree_len)]
#![feature(let_chains)]
#![feature(min_specialization)]
#![feature(never_type)]
#![feature(rustc_attrs)]
2022-10-26 16:18:46 -05:00
#![feature(variant_count)]
2020-01-02 09:53:15 +01:00
#![recursion_limit = "256"]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#![cfg_attr(not(bootstrap), allow(internal_features))]
2020-01-02 09:53:15 +01:00
#[macro_use]
extern crate rustc_macros;
#[macro_use]
extern crate tracing;
2020-01-02 09:53:15 +01:00
#[macro_use]
extern crate rustc_data_structures;
2019-12-25 03:51:27 +01:00
2021-07-13 18:45:20 +02:00
extern crate self as rustc_hir;
2020-03-21 02:21:21 +01:00
mod arena;
pub mod def;
pub mod def_path_hash_map;
pub mod definitions;
2021-10-04 15:57:39 -05:00
pub mod diagnostic_items;
pub use rustc_span::def_id;
mod hir;
2019-12-25 15:26:30 +01:00
pub mod hir_id;
2020-01-07 17:30:29 +01:00
pub mod intravisit;
2020-01-30 01:24:51 +01:00
pub mod lang_items;
pub mod pat_util;
mod stable_hash_impls;
2020-01-30 01:24:51 +01:00
mod target;
pub mod weak_lang_items;
#[cfg(test)]
mod tests;
pub use hir::*;
2019-12-25 15:26:30 +01:00
pub use hir_id::*;
2020-01-30 01:24:51 +01:00
pub use lang_items::{LangItem, LanguageItems};
pub use stable_hash_impls::HashStableContext;
2020-01-30 01:24:51 +01:00
pub use target::{MethodKind, Target};
2021-07-13 18:45:20 +02:00
arena_types!(rustc_arena::declare_arena);