diff options
| author | bors <bors@rust-lang.org> | 2022-10-27 22:08:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-27 22:08:07 +0000 |
| commit | 43268141da663e42bf3cd1bb4964c5af20c7e979 (patch) | |
| tree | 7878f25bcf256014d87b00dc07dfe7f48cef664b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | f5d225de3733aa2e1f91f41b5da4ec5dd773a06d (diff) | |
| parent | 1909a6af1ab68578afbdb879ab6936e06c02da89 (diff) | |
| download | rust-43268141da663e42bf3cd1bb4964c5af20c7e979.tar.gz rust-43268141da663e42bf3cd1bb4964c5af20c7e979.zip | |
Auto merge of #9726 - kraktus:fix_use_self, r=Alexendoo
[`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
changelog: [`use_self`] fix suggestion when full path to struct was given
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
