rust/tests
bors[bot] bce190558f Merge #3338
3338: new_ret_no_self false positives r=flip1995 a=JoshMcguigan

~~WORK IN PROGRESS~~

I plan to fix all of the false positives in #3313 in this PR, but I wanted to open it now to start gathering feedback.

In this first commit, I've updated the lint to allow tuple return types as long as `Self` shows up at least once, in any position of the tuple. I believe this is the broadest possible interpretation of what should be allowed for tuple return types, but I would certainly be okay making the lint more strict. 

fixes #3313 

Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
2018-10-24 14:42:40 +00:00
..
auxiliary Add license header to Rust files 2018-10-06 09:43:08 -07:00
run-pass Stabilize tool lints 2018-10-11 12:16:22 +02:00
ui Merge #3338 2018-10-24 14:42:40 +00:00
ui-toml Stabilize tool lints 2018-10-11 12:16:22 +02:00
compile-test.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
dogfood.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
matches.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
needless_continue_helpers.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
versioncheck.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00