needless_question_mark follows macros and suggests to replace code inside the macro definition #6921
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
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Lint name: needless_question_mark
I tried this code:
Suggestion:
We can't just fill in the macro arguments into the macro definition... 🙃
I guess the easiest way is to just ignore macros?
Meta
clippy 0.1.52 (107896c 2021-03-15)
The text was updated successfully, but these errors were encountered: