diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-13 11:05:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-13 11:05:33 +0530 |
| commit | 05ca3e31df8366578d61f35a29a17bf48b20ac48 (patch) | |
| tree | ce777f5458807add2f4d2d2a84393d365d0c33c4 /tests/rustdoc-ui/coverage/allow_missing_docs.rs | |
| parent | 36125c43da00a2c57452e72c3cf81b71b13de208 (diff) | |
| parent | 14bf909e71209fc946f35ffba8ae6572c9575715 (diff) | |
| download | rust-05ca3e31df8366578d61f35a29a17bf48b20ac48.tar.gz rust-05ca3e31df8366578d61f35a29a17bf48b20ac48.zip | |
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.
Diffstat (limited to 'tests/rustdoc-ui/coverage/allow_missing_docs.rs')
0 files changed, 0 insertions, 0 deletions
