bors 0e5e2c4365 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
2020-03-20 12:45:30 +00:00
..
2020-03-04 00:56:43 +01:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-02-01 20:28:27 +09:00
2020-01-26 07:01:16 +09:00
2020-01-12 19:54:17 +08:00
2020-01-12 19:54:17 +08:00
2020-01-26 07:01:16 +09:00
2020-01-26 07:01:16 +09:00
2020-03-03 18:06:59 -08:00
2020-02-23 22:36:15 -08:00
2020-02-23 22:36:15 -08:00
2020-02-01 20:28:27 +09:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-01-19 10:14:03 +09:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-01-26 07:01:16 +09:00
2020-01-26 07:01:16 +09:00
2020-01-14 08:32:33 +09:00
2020-01-14 08:32:33 +09:00
2020-02-06 19:15:01 +01:00
2020-02-04 22:53:24 +01:00
2020-01-30 12:06:42 +09:00
2020-01-30 12:06:42 +09:00
2020-03-11 06:35:07 +09:00
2020-01-10 04:35:37 +09:00
2020-01-14 08:32:33 +09:00
2020-01-26 07:01:16 +09:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-03-03 10:48:08 +01:00
2020-02-04 22:53:24 +01:00
2020-02-04 22:53:24 +01:00
2020-02-04 22:53:24 +01:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-13 02:06:47 +09:00
2020-03-13 02:06:47 +09:00
2020-03-13 01:25:18 +09:00
2020-01-31 20:21:10 +01:00
2020-01-20 10:56:02 +09:00
2020-01-20 21:07:31 +09:00
2020-03-04 00:56:43 +01:00
2020-03-04 00:56:43 +01:00
2020-01-20 11:16:50 +09:00
2020-01-31 20:21:10 +01:00
2020-01-31 20:21:10 +01:00
2020-02-05 20:54:58 +03:00
2020-01-31 20:21:10 +01:00
2020-01-26 07:01:16 +09:00
2020-01-12 06:08:58 +09:00
2020-01-12 06:08:58 +09:00
2020-03-11 06:35:07 +09:00
2020-01-31 20:21:10 +01:00
2020-01-25 18:06:52 +03:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00