Open
Description
Clippy lets you do the following:
# Cargo.toml
[lints.clippy]
unwrap-used = true
# clippy.toml
allow-unwrap-in-tests = true
This stops code that is cfg(test)
or #[test]
from getting linted. However, this does not affect code in test/
(etc)., since that code isn't cfg(test)
.
is_in_test()
probably should take that into account?