mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
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