allow-unwrap-in-tests = true
has no effect in integration tests
#10011
Labels
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Description
Using
allow-unwrap-in-tests = true
inclippy.toml
has no effect in integration tests.clippy::unwrap_used
will still lint there.Since #9686 it's easy to workaround it, one can just put
#![cfg(test)]
at the top of the file.Is this intended or is this considered a bug? Does Clippy have a way to detect it's seeing an integration test?
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: