]> git.lizzy.rs Git - rust.git/commit
Auto merge of #5323 - rabisg0:fix/5284, r=flip1995
authorbors <bors@rust-lang.org>
Fri, 20 Mar 2020 12:45:30 +0000 (12:45 +0000)
committerbors <bors@rust-lang.org>
Fri, 20 Mar 2020 12:45:30 +0000 (12:45 +0000)
commit0e5e2c436584ca9ad02d3c7edec8ffa116f1419f
tree22a8c10ee11f3b061ecb1c47c1f350da67054d76
parentd8e6e4cfcd83d555bd7717ea24224b777ed75773
parent0812a0af4c6acc063320c9617dd47c85860dcbf5
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