diff options
| author | kraktus <kraktus@users.noreply.github.com> | 2022-10-26 18:10:40 +0200 |
|---|---|---|
| committer | kraktus <kraktus@users.noreply.github.com> | 2022-10-26 18:30:32 +0200 |
| commit | 1909a6af1ab68578afbdb879ab6936e06c02da89 (patch) | |
| tree | daebf502e9fe598e1a78f76d9aaa92f4282dd68d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | e86e810889481d6f4284e6ec29224ed5fca490bd (diff) | |
| download | rust-1909a6af1ab68578afbdb879ab6936e06c02da89.tar.gz rust-1909a6af1ab68578afbdb879ab6936e06c02da89.zip | |
[`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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
