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