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
|
||
|---|---|---|
| .. | ||
| cargo_common_metadata | ||
| cargo_rust_version | ||
| duplicate_mod/fail | ||
| feature_name | ||
| module_style | ||
| multiple_config_files | ||
| multiple_crate_versions | ||
| wildcard_dependencies | ||
| update-all-references.sh | ||