We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dcb616 commit 94a0923Copy full SHA for 94a0923
src/librustdoc/core.rs
@@ -285,7 +285,7 @@ pub(crate) fn create_config(
285
diagnostic_output: DiagnosticOutput::Default,
286
lint_caps,
287
parse_sess_created: None,
288
- register_lints: Some(box crate::lint::register_lints),
+ register_lints: Some(Box::new(crate::lint::register_lints)),
289
override_queries: Some(|_sess, providers, _external_providers| {
290
// Most lints will require typechecking, so just don't run them.
291
providers.lint_mod = |_, _| {};
0 commit comments