diff options
| author | blyxyas <blyxyas@gmail.com> | 2024-06-18 22:44:28 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2024-10-19 16:20:33 +0200 |
| commit | 71b4d108c7e71c15c0f61d737ebdc0e1cf559d3c (patch) | |
| tree | 2554ae8686bc2a11446fe6c34f5ed99311a4f8ac /compiler/rustc_lint/src/lib.rs | |
| parent | edc65776274d14fc7f7f93de66ac3b2d15bbbc37 (diff) | |
| download | rust-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.rs | 2 |
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", |
