Fixes https://github.com/rust-lang/rust-clippy/issues/13973. I don't think we can make `fn_to_numeric_cast_any` to be emitted in some special cases. Its category cannot be changed at runtime. I think in this case, the best might be a specialized new lint so we can target exactly what we want. ---- changelog: Add new `confusing_method_to_numeric_cast` lint |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||