Skip to content

Commit 2f29e69

Browse files
committed
Mention cargo check in help message
1 parent bbe4971 commit 2f29e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ impl<'hir> Visitor<'hir> for EmitIgnoredResolutionErrors<'_, 'hir> {
645645
);
646646
err.span_label(path.span, label);
647647
err.note("this error was originally ignored because you are running `rustdoc`");
648-
err.note("try running again with `rustc` and you may get a more detailed error");
648+
err.note("try running again with `rustc` or `cargo check` and you may get a more detailed error");
649649
err.emit();
650650
}
651651
// We could have an outer resolution that succeeded,

0 commit comments

Comments
 (0)