about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-07-15 16:43:45 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-08-04 16:09:14 +0000
commit7c34f1a8d8bf45b7c0e4197f642d757b4e01ce01 (patch)
tree300cbc2cda643859fbd3feee62e6e15c753270e7 /compiler/rustc_interface/src
parent53e5fd6a61b42eb4a401a8d0de58eb6f6b39b9d4 (diff)
downloadrust-7c34f1a8d8bf45b7c0e4197f642d757b4e01ce01.tar.gz
rust-7c34f1a8d8bf45b7c0e4197f642d757b4e01ce01.zip
Make MissingDoc a module lint.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 7355136aae5..a34fdf4ecc9 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -846,9 +846,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
                     },
                     {
                         sess.time("lint_checking", || {
-                            rustc_lint::check_crate(tcx, || {
-                                rustc_lint::BuiltinCombinedLateLintPass::new()
-                            });
+                            rustc_lint::check_crate(tcx);
                         });
                     },
                     {