about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-12 12:09:56 +0000
committerbors <bors@rust-lang.org>2019-03-12 12:09:56 +0000
commit8fc0a738e3fb82bb956c996438c71272ed92e49c (patch)
tree3b0e21d3ad794a3c913ce7f4d256a4462d00956a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent6e2b8fa8ca1eee666122cd99a2168986649b09e0 (diff)
parent187ce4c5ab627706b33b28af22b2cefdd6986048 (diff)
downloadrust-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