False Positive equatable_if_let
in macro
#9066
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
T-macros
Type: Issues with macros and macro expansion
Summary
equatable_if_let
is triggered from inside an external macro.Lint Name
equatable_if_let
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No warning. Obviously this example code has to be split up into different crates, personally I'm fine with this lint triggering for internal macros.
Version
Additional Labels
@rustbot label T-macros
The text was updated successfully, but these errors were encountered: