665fd5219a
add lint against unit tests in doctests During RustLab, Alice Ryhl brought to my attention that the Andoid team stumbled over the fact that if one attempts to write a unit test within a doctest, it will be summarily ignored. So this lint should help people wondering why their tests won't run. --- changelog: New lint: [`test_attr_in_doctest`] [#11872](https://github.com/rust-lang/rust-clippy/pull/11872) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |