add an internal lint that catches misordered paths

This commit is contained in:
Oliver Schneider
2016-07-18 11:19:33 +02:00
parent fc54a91916
commit 02c46f057f
5 changed files with 61 additions and 6 deletions

View File

@@ -169,6 +169,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
// end deprecated lints, do not remove this comment, its used in `update_lints`
reg.register_late_lint_pass(box serde::Serde);
reg.register_early_lint_pass(box utils::internal_lints::Clippy);
reg.register_late_lint_pass(box types::TypePass);
reg.register_late_lint_pass(box booleans::NonminimalBool);
reg.register_late_lint_pass(box misc::TopLevelRefPass);