mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
88323e856d
needless_doctest_main: handle correctly parse errors Before this change, finding an error when parsing a doctest would make Clippy exit without emitting an error. Now we properly catch a fatal error and ignore it. Also, if a doctest specifies an edition in the info line, it will be used when parsing it. changelog: needless_doctest_main: handle correctly parse errors Fixes #6022 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |