arithmetic_side_effects, redundant_pub_crate should not warn external macros #10636
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
arithmetic_side_effects and redundant_pub_crate currently warns on code generated by external macros (in my case
tokio::select!
).Lint Name
arithmetic_side_effects, redundant_pub_crate
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen: compile without errors.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: