mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
1909a6af1a
Previously the following wrong suggestion was given ```rust impl Error for std::fmt::Error { fn custom<T: std::fmt::Display>(_msg: T) -> Self { - std::fmt::Error // Should lint + Self::Error // Should lint } } ``` Also remove known problem line related to #4140 since it's been closed, and refactor the lint |
||
---|---|---|
.. | ||
fail_both_diff | ||
fail_both_same | ||
fail_cargo | ||
fail_clippy | ||
fail_file_attr | ||
pass_both_same | ||
pass_cargo | ||
pass_clippy | ||
pass_file_attr | ||
warn_both_diff |