rustc_lint

Function register_builtins

Source
pub(crate) fn register_builtins(store: &mut LintStore)
Expand description

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