rust/tests
bors 88323e856d Auto merge of #6458 - ebroto:6022_parse_doctest, r=Manishearth
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
2020-12-18 06:57:21 +00:00
..
auxiliary
cargo
ui needless_doctest_main: add edition support 2020-12-16 00:14:47 +01:00
ui-cargo Rewrite update-all-references bash scripts in Rust 2020-12-12 15:09:57 +01:00
ui-internal New internal lint: interning_defined_symbol 2020-12-13 06:32:41 +02:00
ui-toml Rewrite update-all-references bash scripts in Rust 2020-12-12 15:09:57 +01:00
compile-test.rs add internal-lints feature to enable clippys internal lints (off by default) 2020-11-29 21:07:43 +01:00
dogfood.rs Pass Clippy args also trough RUSTFLAGS 2020-12-13 15:43:20 +01:00
fmt.rs
integration.rs Error in integration test, if required toolchain is not installed 2020-12-10 12:44:27 +01:00
missing-test-files.rs
versioncheck.rs