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:
authorbors <bors@rust-lang.org>2020-03-20 12:45:30 +0000
committerbors <bors@rust-lang.org>2020-03-20 12:45:30 +0000
commit0e5e2c436584ca9ad02d3c7edec8ffa116f1419f (patch)
tree22a8c10ee11f3b061ecb1c47c1f350da67054d76 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentd8e6e4cfcd83d555bd7717ea24224b777ed75773 (diff)
parent0812a0af4c6acc063320c9617dd47c85860dcbf5 (diff)
downloadrust-0e5e2c436584ca9ad02d3c7edec8ffa116f1419f.tar.gz
rust-0e5e2c436584ca9ad02d3c7edec8ffa116f1419f.zip
Auto merge of #5323 - rabisg0:fix/5284, r=flip1995
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

changelog: none
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions