Empty doc tests should be linted #60319
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-doctests
Area: Documentation tests, run by rustdoc
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Run tests for https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=8ac29ea8121d53906e7a77cd01ccbe70 and you'll get the following diagnostic:
But to be as helpful as possible the diagnostic should, if possible, point to the start of the invalid code block.
The text was updated successfully, but these errors were encountered: