diff options
| author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-24 14:42:40 +0000 |
|---|---|---|
| committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-24 14:42:40 +0000 |
| commit | bce190558f69bb9eb1574cfa98467a20cc1ff1bc (patch) | |
| tree | ea360cb4bc99886a71beb51b417bc8789fdc01ac /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 319b75c75b65985b7d3389d65a49f993ef3345fa (diff) | |
| parent | 30ffc17ef754f6b6c7bd47809afd51b1c5632f22 (diff) | |
| download | rust-bce190558f69bb9eb1574cfa98467a20cc1ff1bc.tar.gz rust-bce190558f69bb9eb1574cfa98467a20cc1ff1bc.zip | |
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>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
