about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-05-12 15:27:33 +0000
committerGitHub <noreply@github.com>2025-05-12 15:27:33 +0000
commitb363499457a64ce9e936e02047247955d2dc3b3f (patch)
treeef5e05a4913cc6ecc26ed0b5c79b3fab9ca4142d /src/test/rustdoc-ui/coverage/enum-tuple.rs
parent2ce5451850045b81992b02f1f9951906415b5697 (diff)
parenta94abae9118f004365a2c6b4ec2ae4b0f1ac43ce (diff)
downloadrust-b363499457a64ce9e936e02047247955d2dc3b3f.tar.gz
rust-b363499457a64ce9e936e02047247955d2dc3b3f.zip
Add new `confusing_method_to_numeric_cast` lint (#13979)
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
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions