inherent_to_string false positive #4457
Labels
C-bug
Category: Clippy is not doing the correct thing
good first issue
These issues are a good way to get started with Clippy
To reproduce, run Clippy on the following module:
It produces the following warning:
This is incorrect. My
to_string
has different signature and can't be replaced withDisplay
impl.The text was updated successfully, but these errors were encountered: