diff options
| author | bors <bors@rust-lang.org> | 2019-03-12 12:09:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-12 12:09:56 +0000 |
| commit | 8fc0a738e3fb82bb956c996438c71272ed92e49c (patch) | |
| tree | 3b0e21d3ad794a3c913ce7f4d256a4462d00956a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 6e2b8fa8ca1eee666122cd99a2168986649b09e0 (diff) | |
| parent | 187ce4c5ab627706b33b28af22b2cefdd6986048 (diff) | |
| download | rust-8fc0a738e3fb82bb956c996438c71272ed92e49c.tar.gz rust-8fc0a738e3fb82bb956c996438c71272ed92e49c.zip | |
Auto merge of #3869 - taiki-e:use_self, r=flip1995
Fix `use_self` false positive on nested functions
Related to https://github.com/rust-lang/rust-clippy/pull/3640
The current `use_self` warns the following code.
```rust
#![warn(clippy::use_self)]
struct Foo {}
impl Foo {
fn bar() {
fn baz() -> Foo { //^ warning: unnecessary structure name repetition
Foo {} //^ warning: unnecessary structure name repetition
}
}
}
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
