In RFC 3389, target-specific lints were mentioned in drawbacks.
We have strict clippy settings which we would like to put into the lints
but we do not want to have the same lints in tests, examples, or benches.
The RFC mentions that there wasn't a compelling reason to do this and I assume people have thought about this kind of stuff so I wonder what everyone else does? Do you just use the same level of strictness for tests as you do for normal code? I would expect not since there are also things like allow-unwrap-in-tests
inside clippy.toml
.