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-19 23:37:41 +00:00
2023-04-14 11:28:16 +10:00
2023-05-01 16:15:13 +08:00
2023-01-30 22:02:30 +00:00
2023-01-17 11:52:45 -08:00
2023-01-30 20:12:19 +00:00
2023-05-01 16:15:17 +08:00
2023-03-22 18:16:01 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-01-11 19:46:45 +00:00
2023-02-06 11:26:36 -08:00
2023-01-15 19:46:20 +00:00
2023-01-13 18:20:23 +00:00
2023-05-12 00:10:52 +00:00
2023-05-12 00:10:52 +00:00
2023-05-12 00:10:52 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-01-23 00:42:20 +08:00
2023-01-23 00:42:20 +08:00
2023-01-23 00:42:20 +08:00
2023-05-12 10:26:50 +00:00
2023-05-12 10:26:50 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2023-02-21 05:21:07 +00:00
2023-02-22 09:44:26 +08:00
2023-02-22 09:44:26 +08:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-06 11:26:36 -08:00
2023-02-06 11:26:36 -08:00
2023-04-19 23:37:41 +00:00
2023-04-19 23:37:41 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-04-27 00:48:00 +08:00
2023-02-22 09:44:26 +08:00
2023-02-22 09:44:26 +08:00