about summary refs log tree commit diff
path: root/src/doc/intro.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-17 13:29:48 +0000
committerbors <bors@rust-lang.org>2015-03-17 13:29:48 +0000
commitc64d671671aea2e44ee7fc6eb00ee75fc30ed7b9 (patch)
tree058ec26f2e5ae48d415b7730c5f2d51df9b369a0 /src/doc/intro.md
parent31ba21228e0e539a665ce14ab3a176e30e57f822 (diff)
parent277b4f035aa7e42330aabbc243a8fcb5cf4cc8bd (diff)
downloadrust-c64d671671aea2e44ee7fc6eb00ee75fc30ed7b9.tar.gz
rust-c64d671671aea2e44ee7fc6eb00ee75fc30ed7b9.zip
Auto merge of #23423 - nikomatsakis:issue-18737-trait-subtyping, r=nrc
This upcast coercion currently never requires vtable changes. It should be generalized. 

This is a [breaking-change] -- if you have an impl on an object type like `impl SomeTrait`, then this will no longer be applicable to object types like `SomeTrait+Send`. In the standard library, this primarily affected `Any`, and this PR adds impls for `Any+Send` as to keep the API the same in practice. An alternate workaround is to use UFCS form or standalone fns. For more details, see <https://github.com/rust-lang/rust/issues/18737#issuecomment-78450798>.

r? @nrc 
Diffstat (limited to 'src/doc/intro.md')
0 files changed, 0 insertions, 0 deletions