clippy::implicit_hasher shouldn't warn on From<Thing> for HashMap<K, V> #3899
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
L-suggestion
Lint: Improving, adding or fixing lint suggestions
And probably others too. AFAICT fixing this is impossible.
For example, if I have
then I get clippy::implicit hasher with the suggestion
But I can't use that suggestion, I get E210.
Link to repro in playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=eeb25dc899a8ac4d201740279be2744b
The text was updated successfully, but these errors were encountered: