Make MissingDoc a module lint.

This commit is contained in:
Camille GILLOT 2023-07-15 16:43:45 +00:00
parent 53e5fd6a61
commit 7c34f1a8d8
9 changed files with 84 additions and 120 deletions

View file

@ -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);
});
},
{