Improve help message of from_over_into
lint
#7088
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
L-suggestion
Lint: Improving, adding or fixing lint suggestions
In this case [...] the fix is to change last impl to this:
It might be helpful if the recommendation actually printed the type so it was explicitly obvious (implied). Here is an example error:
A better [help] message might look something like:
Originally posted by @Allen-Webb in #4894 (comment)
So the help message should at least mention the generic type that should be used. Maybe even produce an non-autoapplicable suggestion.
The text was updated successfully, but these errors were encountered: