rust/tests/ui/async-await
Dylan DPC 05ca3e31df
Rollup merge of #111451 - compiler-errors:note-cast-origin, r=b-naber
Note user-facing types of coercion failure

When coercing, for example, `Box<A>` into `Box<dyn B>`, make sure that any failure notes mention *those* specific types, rather than mentioning inner types, like "the cast from `A` to `dyn B`".

I expect end-users are often confused when we skip layers of types and only mention the "innermost" part of a coercion, especially when other notes point at HIR, e.g. #111406.
2023-05-13 11:05:33 +05:30
..
2023-04-27 22:29:04 +02:00
2023-05-08 03:36:30 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:12 +00:00