Skip to content

Commit 776466d

Browse files
committed
also ignore doctests
1 parent d7c8950 commit 776466d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/tidy/src/error_codes.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ fn check_error_codes_used(
357357
errors.push(format!(
358358
"Error code `{code}` exists, but is not emitted by the compiler!\n\
359359
Please mark the code as no longer emitted by adding the following note to the top of the `EXXXX.md` file:\n\
360-
`#### Note: this error code is no longer emitted by the compiler`"
360+
`#### Note: this error code is no longer emitted by the compiler`\n\
361+
Also, do not forget to mark doctests that no longer apply as `ignore (error is no longer emitted)`."
361362
));
362363
}
363364

0 commit comments

Comments
 (0)