about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-07-10 17:51:38 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-07-15 10:54:05 -0400
commit2f29e696ab0ced54f016bed0514a53f6e281ac8a (patch)
treeadb9713fd217e04b8aaa6ff133adc8fa16363673 /src
parentbbe4971095717912463d8dbc00ba8ce9a5988963 (diff)
downloadrust-2f29e696ab0ced54f016bed0514a53f6e281ac8a.tar.gz
rust-2f29e696ab0ced54f016bed0514a53f6e281ac8a.zip
Mention `cargo check` in help message
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/core.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs
index adc6b536699..bdacf608ff5 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,