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
..
2019-03-07 23:26:47 +09:00
2019-03-10 22:12:26 +01:00
2019-01-21 13:59:49 +01:00
2019-01-08 21:46:39 +01:00
2019-03-07 23:26:47 +09:00
2019-03-10 22:07:10 +01:00
2019-01-31 06:32:29 +02:00
2019-01-31 06:32:29 +02:00
2019-01-27 13:46:22 +01:00
2019-01-08 21:46:39 +01:00
2019-03-10 18:06:28 +00:00
2019-03-10 18:06:28 +00:00
2019-03-10 22:07:10 +01:00
2019-02-18 19:36:58 -07:00
2019-02-18 19:36:58 -07:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-02-21 06:59:10 +02:00
2019-02-10 21:23:04 +01:00
2019-03-10 22:07:10 +01:00
2019-03-10 18:06:28 +00:00
2019-03-10 22:07:10 +01:00
2019-01-08 21:46:39 +01:00
2019-03-09 13:48:06 -08:00
2019-02-17 01:50:31 +01:00
2019-02-17 01:50:31 +01:00
2019-01-08 21:46:39 +01:00
2019-03-07 23:26:47 +09:00
2019-03-07 23:26:47 +09:00
2019-03-10 18:06:28 +00:00
2019-03-10 22:07:10 +01:00
2019-03-10 18:06:28 +00:00
2019-03-10 22:07:10 +01:00
2019-03-10 18:06:28 +00:00
2019-02-19 21:34:14 +01:00
2019-03-10 18:06:28 +00:00
2019-03-10 22:07:10 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-02-24 18:23:54 +01:00
2019-02-24 18:23:54 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-01-13 19:57:19 +01:00
2019-01-13 19:57:19 +01:00
2019-01-13 19:57:19 +01:00
2019-03-10 18:06:28 +00:00
2019-01-29 07:22:08 +02:00
2019-01-29 07:22:08 +02:00
2019-02-19 06:39:22 +02:00
2019-02-20 06:06:00 +02:00
2019-03-10 18:13:15 +00:00
2019-01-08 21:46:39 +01:00
2019-01-08 21:46:39 +01:00
2019-03-10 18:06:28 +00:00
2019-02-18 22:56:43 +00:00
2019-02-18 22:56:43 +00:00