In test builds, expect(clippy::missing_inline_in_public_items)
does not function properly
#13394
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
In test builds, an
expect(clippy::missing_inline_in_public_items)
will report “this lint expectation is unfulfilled” even in cases wherewarn(clippy::missing_inline_in_public_items)
would warn and therefore the expectation should be fulfilled.Lint Name
missing_inline_in_public_items
Reproducer
I tried this code with
cargo clippy --tests
:I saw this happen:
I expected to see this happen: No diagnostic
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: