mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 18:47:33 +00:00
This lint was incorrectly suggesting casting a function to a pointer without specifying generic type parameters or const generics. This would cause a compiler error since the missing parameters couldn't be inferred. This commit fixed the suggestion and added a few tests with generics.