rust/tests/ui-cargo/cargo_rust_version
kraktus 1909a6af1a [use_self] fix suggestion when full path to struct was given
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
2022-10-26 18:30:32 +02:00
..
fail_both_diff [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
fail_both_same [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
fail_cargo [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
fail_clippy [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
fail_file_attr [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
pass_both_same Add ui_cargo_toml_metadata test 2022-07-17 22:17:58 -04:00
pass_cargo Add ui_cargo_toml_metadata test 2022-07-17 22:17:58 -04:00
pass_clippy Add ui_cargo_toml_metadata test 2022-07-17 22:17:58 -04:00
pass_file_attr Add ui_cargo_toml_metadata test 2022-07-17 22:17:58 -04:00
warn_both_diff Add ui_cargo_toml_metadata test 2022-07-17 22:17:58 -04:00