rust/clippy_lints
bors 8fc0a738e3 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
         }
    }
}
```
2019-03-12 12:09:56 +00:00
..
src Auto merge of #3869 - taiki-e:use_self, r=flip1995 2019-03-12 12:09:56 +00:00
Cargo.toml
README.md

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.