items-after-test-module
: false positive with test-case
and regular tests
#11153
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
#10992 fixed some of the interaction between the
items-after-test-module
lint and thetest-case
crate by ignoring proc macros. That works, but it still gets confused if you have non-test-case
tests aftertest-case
tests in the same file.Lint Name
items-after-test-module
Reproducer
I tried this code:
I saw this happen:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: