]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8562 : bblum/rust/superkinds, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 22 Aug 2013 01:51:42 +0000 (18:51 -0700)
committerbors <bors@rust-lang.org>
Thu, 22 Aug 2013 01:51:42 +0000 (18:51 -0700)
For #7083.

The metadata issue with the old version is now fixed. Ready for review.

This is also not the full solution to #7083, because this is not supported yet:
```
trait Foo : Send { }

impl <T: Send> Foo for T { }

fn foo<T: Foo>(val: T, chan: std::comm::Chan<T>) {
    chan.send(val);
}
```

cc @nikomatsakis

1  2 
src/librustc/metadata/encoder.rs
src/librustc/middle/ty.rs

Simple merge
Simple merge