rust/src/test
bors 557d4346a2 Auto merge of #21237 - erickt:derive-assoc-types, r=erickt
This PR adds support for associated types to the `#[derive(...)]` syntax extension. In order to do this, it switches over to using where predicates to apply the type constraints. So now this:

```rust
type Trait {
    type Type;
}

#[derive(Clone)]
struct Foo<A> where A: Trait {
    a: A,
    b: <A as Trait>::Type,
}
```

Gets expended into this impl:

```rust
impl<A: Clone> Clone for Foo<A> where
    A: Trait,
    <A as Trait>::Type: Clone,
{
    fn clone(&self) -> Foo<T> {
        Foo {
            a: self.a.clone(),
            b: self.b.clone(),
        }
    }
}
```
2015-03-26 13:38:41 +00:00
..
auxiliary Auto merge of #21237 - erickt:derive-assoc-types, r=erickt 2015-03-26 13:38:41 +00:00
bench
codegen
compile-fail Auto merge of #21237 - erickt:derive-assoc-types, r=erickt 2015-03-26 13:38:41 +00:00
compile-fail-fulldeps
debuginfo
parse-fail
pretty
run-fail
run-make
run-pass Auto merge of #21237 - erickt:derive-assoc-types, r=erickt 2015-03-26 13:38:41 +00:00
run-pass-fulldeps
run-pass-valgrind