about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorblyxyas <blyxyas@gmail.com>2024-06-18 22:44:28 +0200
committerblyxyas <blyxyas@gmail.com>2024-10-19 16:20:33 +0200
commit71b4d108c7e71c15c0f61d737ebdc0e1cf559d3c (patch)
tree2554ae8686bc2a11446fe6c34f5ed99311a4f8ac /compiler/rustc_lint/src/lib.rs
parentedc65776274d14fc7f7f93de66ac3b2d15bbbc37 (diff)
downloadrust-71b4d108c7e71c15c0f61d737ebdc0e1cf559d3c.tar.gz
rust-71b4d108c7e71c15c0f61d737ebdc0e1cf559d3c.zip
Follow review comments (optimize the filtering)
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index 5984810961f..11dd17bcd4a 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -199,7 +199,6 @@ late_lint_methods!(
             ForLoopsOverFallibles: ForLoopsOverFallibles,
             DerefIntoDynSupertrait: DerefIntoDynSupertrait,
             DropForgetUseless: DropForgetUseless,
-            HardwiredLints: HardwiredLints,
             ImproperCTypesDeclarations: ImproperCTypesDeclarations,
             ImproperCTypesDefinitions: ImproperCTypesDefinitions,
             InvalidFromUtf8: InvalidFromUtf8,
@@ -280,6 +279,7 @@ fn register_builtins(store: &mut LintStore) {
     store.register_lints(&BuiltinCombinedEarlyLintPass::get_lints());
     store.register_lints(&BuiltinCombinedModuleLateLintPass::get_lints());
     store.register_lints(&foreign_modules::get_lints());
+    store.register_lints(&HardwiredLints::default().get_lints());
 
     add_lint_group!(
         "nonstandard_style",