Move internal lints to their own crate (#13223)
This makes it so switching the internal feature on/off no longer rebuilds `clippy_lints`. r? @flip1995 changelog: none
This commit is contained in:
commit
781fdab9a9
63 changed files with 295 additions and 333 deletions
|
|
@ -158,7 +158,8 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
|
|||
|
||||
let conf = clippy_config::Conf::read(sess, &conf_path);
|
||||
clippy_lints::register_lints(lint_store, conf);
|
||||
clippy_lints::register_pre_expansion_lints(lint_store, conf);
|
||||
#[cfg(feature = "internal")]
|
||||
clippy_lints_internal::register_lints(lint_store);
|
||||
}));
|
||||
config.extra_symbols = clippy_utils::sym::EXTRA_SYMBOLS.into();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue