From 2f29e696ab0ced54f016bed0514a53f6e281ac8a Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Fri, 10 Jul 2020 17:51:38 -0400 Subject: [PATCH] Mention `cargo check` in help message --- src/librustdoc/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index adc6b536699e..bdacf608ff59 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -645,7 +645,7 @@ impl<'hir> Visitor<'hir> for EmitIgnoredResolutionErrors<'_, 'hir> { ); err.span_label(path.span, label); err.note("this error was originally ignored because you are running `rustdoc`"); - err.note("try running again with `rustc` and you may get a more detailed error"); + err.note("try running again with `rustc` or `cargo check` and you may get a more detailed error"); err.emit(); } // We could have an outer resolution that succeeded,