rust/compiler
Esteban Küber fd9133b9c3 Suggest boxed trait objects in tail match and if expressions
When encountering a `match` or `if` as a tail expression where the
different arms do not have the same type *and* the return type of that
`fn` is an `impl Trait`, check whether those arms can implement `Trait`
and if so, suggest using boxed trait objects.
2020-09-11 17:05:18 -07:00
..
2020-09-10 17:33:06 -04:00
2020-09-10 09:48:02 +02:00
2020-09-04 17:47:51 +02:00
2020-09-09 23:05:43 +03:00
2020-09-10 17:33:06 -04:00
2020-09-04 17:47:51 +02:00
2020-09-09 16:32:55 +02:00
2020-09-04 19:17:57 -04:00
2020-09-04 17:47:51 +02:00