Function rustc_lint::register_builtins
[−]
[src]
pub fn register_builtins(store: &mut LintStore, sess: Option<&Session>)
🔬 This is a nightly-only experimental API. (
rustc_private
)Tell the LintStore
about all the built-in lints (the ones
defined in this crate and the ones defined in
rustc::lint::builtin
).