rust/compiler/rustc_trait_selection
bors 7069a8c2b7 Auto merge of #86264 - crlf0710:trait_upcasting_part1, r=nikomatsakis
Trait upcasting coercion (part1)

This revives the first part of earlier PR #60900 .

It's not very clear to me which parts of that pr was design decisions, so i decide to cut it into pieces and land them incrementally. This allows more eyes on the details.

This is the first part, it adds feature gates, adds feature gates tests, and implemented the unsize conversion part.
(I hope i have dealt with the `ExistentialTraitRef` values correctly...)

The next part will be implementing the pointer casting.
2021-07-31 07:46:14 +00:00
..
src Auto merge of #86264 - crlf0710:trait_upcasting_part1, r=nikomatsakis 2021-07-31 07:46:14 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00