]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_session/src/lib.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / compiler / rustc_session / src / lib.rs
CommitLineData
dfeec247 1#![feature(crate_visibility_modifier)]
1b1a35ee 2#![feature(once_cell)]
6a06907d 3#![recursion_limit = "256"]
60c5eb7d 4
3dfed10e
XL
5#[macro_use]
6extern crate rustc_macros;
f035d41b 7
60c5eb7d
XL
8pub mod cgu_reuse_tracker;
9pub mod utils;
29967ef6
XL
10pub use lint::{declare_lint, declare_lint_pass, declare_tool_lint, impl_lint_pass};
11pub use rustc_lint_defs as lint;
60c5eb7d
XL
12pub mod parse;
13
14mod code_stats;
dfeec247 15#[macro_use]
60c5eb7d
XL
16pub mod config;
17pub mod filesearch;
dfeec247 18mod options;
60c5eb7d
XL
19pub mod search_paths;
20
21mod session;
22pub use session::*;
ba9703b0
XL
23
24pub mod output;
25
26pub 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`.
31pub trait HashStableContext {}