about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorRabi Guha <rabisg@google.com>2020-03-16 17:14:24 +0530
committerRabi Guha <rabisg@google.com>2020-03-19 12:03:02 +0530
commit0812a0af4c6acc063320c9617dd47c85860dcbf5 (patch)
tree216b35c65b0741920a615bfd7983e45803262a22 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent23549a8c362a403026432f65a6cb398cb10d44b7 (diff)
downloadrust-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