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