]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | #![feature(crate_visibility_modifier)] |
1b1a35ee | 2 | #![feature(once_cell)] |
6a06907d | 3 | #![recursion_limit = "256"] |
60c5eb7d | 4 | |
3dfed10e XL |
5 | #[macro_use] |
6 | extern crate rustc_macros; | |
f035d41b | 7 | |
60c5eb7d XL |
8 | pub mod cgu_reuse_tracker; |
9 | pub mod utils; | |
29967ef6 XL |
10 | pub use lint::{declare_lint, declare_lint_pass, declare_tool_lint, impl_lint_pass}; |
11 | pub use rustc_lint_defs as lint; | |
60c5eb7d XL |
12 | pub mod parse; |
13 | ||
14 | mod code_stats; | |
dfeec247 | 15 | #[macro_use] |
60c5eb7d XL |
16 | pub mod config; |
17 | pub mod filesearch; | |
dfeec247 | 18 | mod options; |
60c5eb7d XL |
19 | pub mod search_paths; |
20 | ||
21 | mod session; | |
22 | pub use session::*; | |
ba9703b0 XL |
23 | |
24 | pub mod output; | |
25 | ||
26 | pub use getopts; | |
136023e0 XL |
27 | |
28 | /// Requirements for a `StableHashingContext` to be used in this crate. | |
29 | /// This is a hack to allow using the `HashStable_Generic` derive macro | |
30 | /// instead of implementing everything in `rustc_middle`. | |
31 | pub trait HashStableContext {} |