rust-clippy/tests
bors 5b8496603c Auto merge of #3640 - detrumi:nested_use_self, r=flip1995
Restrict `use_self` on nested items

Fixes #3637
Fixes #3463

These changes make it so that nested items aren't visited any more by the `use_self` lint.

I think visiting nested items should be possible (so that it uses a different `item_path` for the nested item), but I'm not sure whether it's viable and what the best approach would be.
- Can `item_path` be changed to a new `Self` path before visiting the item, and then changing it back afterwards?
- Alternatively, could a new visitor be created, re-using `check_trait_method_impl_decl`?
2019-01-07 18:54:28 +00:00
..
auxiliary Use compiletest's aux-build header instead of include macro 2019-01-02 22:48:44 +01:00
run-pass Revert "tests: used_underscore_binding_macro: disable random_state lint." 2019-01-05 10:20:37 +01:00
ui Auto merge of #3640 - detrumi:nested_use_self, r=flip1995 2019-01-07 18:54:28 +00:00
ui-toml Update *.stderr files 2018-12-28 12:41:12 +01:00
compile-test.rs Apply cargo fix --edition-idioms fixes 2018-12-29 17:46:25 +01:00
dogfood.rs Revert "Merge pull request #3257 from o01eg/remove-sysroot" 2018-12-14 21:42:01 +01:00
matches.rs Auto merge of #3598 - xfix:apply-cargo-fix-edition-idioms, r=phansch 2018-12-29 19:04:11 +00:00
needless_continue_helpers.rs Remove unnecessary use statements after cargo fix 2018-12-29 17:48:21 +01:00
versioncheck.rs Remove unnecessary use statements after cargo fix 2018-12-29 17:48:21 +01:00