diff options
| author | Rabi Guha <rabisg@google.com> | 2020-03-16 17:14:24 +0530 |
|---|---|---|
| committer | Rabi Guha <rabisg@google.com> | 2020-03-19 12:03:02 +0530 |
| commit | 0812a0af4c6acc063320c9617dd47c85860dcbf5 (patch) | |
| tree | 216b35c65b0741920a615bfd7983e45803262a22 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 23549a8c362a403026432f65a6cb398cb10d44b7 (diff) | |
| download | rust-0812a0af4c6acc063320c9617dd47c85860dcbf5.tar.gz rust-0812a0af4c6acc063320c9617dd47c85860dcbf5.zip | |
Improvement: Don't show function body in needless_lifetimes
Changes the span on which the lint is reported to point to only the function return type instead of the entire function body. Fixes #5284
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
