We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a683a commit 0edd4f9Copy full SHA for 0edd4f9
src/librustdoc/core.rs
@@ -269,6 +269,7 @@ pub(crate) fn create_config(
269
parse_sess_created: None,
270
register_lints: Some(Box::new(crate::lint::register_lints)),
271
override_queries: Some(|_sess, providers, _external_providers| {
272
+ // We do not register late module lints, so this only runs `MissingDoc`.
273
// Most lints will require typechecking, so just don't run them.
274
providers.lint_mod = |tcx, module_def_id| late_lint_mod(tcx, module_def_id, MissingDoc);
275
// hack so that `used_trait_imports` won't try to call typeck
0 commit comments