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-02-23 10:27:06 -07:00
2023-05-12 00:10:52 +00:00
2023-05-05 07:04:06 +10:00
2023-03-22 21:12:40 -07: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-20 18:01:07 +00:00
2023-02-16 15:14:45 +11:00
2023-01-30 20:12:21 +00:00
2023-02-22 09:44:26 +08:00
2023-01-30 21:51:33 +00:00
2023-01-11 09:32:08 +00:00
2023-03-03 05:02:34 +00:00
2023-04-06 23:01:40 -04:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-05-12 10:26:50 +00:00
2023-05-12 10:26:50 +00:00
2023-05-12 10:26:50 +00:00
2023-05-12 10:26:50 +00:00
2023-04-20 15:06:17 -03:00
2023-01-11 09:32:08 +00:00
2023-04-12 16:17:31 +00:00
2023-01-11 09:32:08 +00:00
2023-01-27 20:10:17 +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-01-11 09:32:08 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-04-16 09:58:08 +00:00
2023-04-16 09:58:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-03-03 05:02:34 +00:00
2023-02-22 21:52:26 +00:00
2023-03-23 06:19:52 +00:00
2023-03-23 06:19:52 +00:00
2023-03-03 05:02:34 +00:00
2023-04-12 22:50:10 +00:00
2023-02-22 17:05:04 +00:00
2023-02-22 17:05:04 +00:00
2023-01-11 09:32:08 +00:00
2023-01-30 20:12:19 +00:00
2023-01-21 05:49:36 +00:00
2023-03-05 08:29:35 +00:00
2023-05-12 10:26:50 +00:00
2023-03-03 05:02:34 +00:00
2023-03-03 05:02:34 +00:00
2023-01-11 09:32:08 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 22:50:10 +00:00
2023-01-30 20:12:19 +00:00
2023-04-25 19:53:09 +00:00
2023-04-12 16:17:31 +00:00
2023-04-12 16:17:31 +00:00
2023-01-11 09:32:08 +00:00