8fc0a738e3
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 } } } ``` |
||
---|---|---|
.. | ||
auxiliary | ||
ui | ||
ui-toml | ||
compile-test.rs | ||
dogfood.rs | ||
matches.rs | ||
missing-test-files.rs | ||
needless_continue_helpers.rs | ||
versioncheck.rs |