Struct rustc::lint::LintStore[src]
pub struct LintStore {
// some fields omitted
}Information about the registered lints.
This is basically the subset of Context that we can
build early in the compile pipeline.
pub struct LintStore {
// some fields omitted
}Information about the registered lints.
This is basically the subset of Context that we can
build early in the compile pipeline.
impl LintStorefn new() -> LintStorefn get_lints<'t>(&'t self) -> &'t [(&'static Lint, bool)]fn register_pass(&mut self, sess: Option<&Session>, from_plugin: bool, pass: LintPassObject)fn register_builtin(&mut self, sess: Option<&Session>)fn process_command_line(&mut self, sess: &Session)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).