File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,19 @@ use std::path::PathBuf;
44fn main ( ) {
55 if let Err ( e) = doit ( ) {
66 eprintln ! ( "error: {}" , e) ;
7+ eprintln ! (
8+ "
9+ This error was generated by the lint-docs tool.
10+ This tool extracts documentation for lints from the source code and places
11+ them in the rustc book. See the declare_lint! documentation
12+ https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint_defs/macro.declare_lint.html
13+ for an example of the format of documentation this tool expects.
14+
15+ To re-run these tests, run: ./x.py test --keep-stage=0 src/tools/lint-docs
16+ The --keep-stage flag should be used if you have already built the compiler
17+ and are only modifying the doc comments to avoid rebuilding the compiler.
18+ "
19+ ) ;
720 std:: process:: exit ( 1 ) ;
821 }
922}
You can’t perform that action at this time.
0 commit comments