mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
ace02c40f0
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. |
||
---|---|---|
.. | ||
borrow_check | ||
const_eval | ||
dataflow | ||
interpret | ||
monomorphize | ||
transform | ||
util | ||
lib.rs | ||
shim.rs |