default_numeric_fallback should not warn code generated by external macros #7304
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I tried this code:
I expected to see this happen: no warning
Instead, this happened: default_numeric_fallback warns code generated by external macros
playground
This originally reported by @kamulos in tokio-rs/tokio#3830.
Meta
cargo clippy -V
: e.g. clippy 0.1.54 (c1e8f3a 2021-05-30)rustc -Vv
:The text was updated successfully, but these errors were encountered: