Esteban Küber
d3c96f03b5
Suggest -> impl Trait
and -> Box<dyn Trait>
on fn that doesn't return
...
During development, a function could have a return type set that is a
bare trait object by accident. We already suggest using either a boxed
trait object or `impl Trait` if the return paths will allow it. We now
do so too when there are *no* return paths or they all resolve to `!`.
We still don't handle cases where the trait object is *not* the entirety
of the return type gracefully.
2020-04-20 09:24:41 -07:00
..
2020-04-02 11:48:34 +03:00
2020-04-02 11:48:34 +03:00
2020-03-27 06:49:07 +01:00
2020-04-02 11:48:34 +03:00
2020-04-02 11:48:34 +03:00
2020-04-14 07:12:07 +08:00
2020-04-08 10:47:41 +03:00
2020-04-08 10:47:41 +03:00
2020-03-26 06:52:55 -04:00
2020-03-26 06:52:55 -04:00
2020-04-08 14:40:51 -07:00
2020-04-08 14:40:45 -07:00
2020-04-08 14:40:51 -07:00
2020-04-08 14:40:51 -07:00
2020-04-05 10:14:04 -07:00
2020-04-02 11:48:34 +03:00
2020-04-02 11:48:34 +03:00
2020-03-22 15:36:54 -07:00
2020-03-22 15:36:54 -07:00
2020-03-22 11:18:06 -07:00
2020-03-22 11:18:06 -07:00
2020-03-22 15:36:54 -07:00
2020-04-13 13:36:22 +05:30
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-03-26 15:49:22 +00:00
2020-04-11 16:15:24 +02:00
2020-04-08 10:47:41 +03:00
2020-04-08 10:47:41 +03:00
2020-03-30 19:34:16 +02:00
2020-04-11 16:15:24 +02:00
2020-04-20 09:24:41 -07:00
2020-03-22 11:18:06 -07:00