Function rustc_lint::register_builtinsUnstable [-] [+] [src]

pub fn register_builtins(store: &mut LintStore, sess: Option<&Session>)

Tell the LintStore about all the built-in lints (the ones defined in this crate and the ones defined in rustc::lint::builtin).