Struct rustc_typeck::lint::LintStore
[−]
[src]
pub struct LintStore {
// some fields omitted
}Unstable
Information about the registered lints.
This is basically the subset of Context that we can
build early in the compile pipeline.
Methods
impl LintStore
fn new() -> LintStore
Unstable
fn get_lints(&'t self) -> &'t [(&'static Lint, bool)]
Unstable
fn get_lint_groups(&'t self) -> Vec<(&'static str, Vec<LintId>, bool)>
Unstable
fn register_pass(&mut self, sess: Option<&Session>, from_plugin: bool, pass: Box<LintPass + 'static>)
Unstable
fn register_group(&mut self, sess: Option<&Session>, from_plugin: bool, name: &'static str, to: Vec<LintId>)
Unstable
fn register_renamed(&mut self, old_name: &str, new_name: &str)
Unstable
fn process_command_line(&mut self, sess: &Session)
Unstable