| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
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.
|
|
Also updated tests accordingly and tweaked some wording in the lint declaration.
|
|
Added documentation for `function_item_references` lint to the rustc book and
fixed comments in the lint checker itself.
|