Function rustc_lint::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
).