1 error[E0208]: [-, o, o]
2 --> $DIR/variance-types.rs:10:1
4 LL | / struct InvariantMut<'a,A:'a,B:'a> {
5 LL | | t: &'a mut (A,B)
10 --> $DIR/variance-types.rs:15:1
12 LL | / struct InvariantCell<A> {
18 --> $DIR/variance-types.rs:20:1
20 LL | / struct InvariantIndirect<A> {
21 LL | | t: InvariantCell<A>
26 --> $DIR/variance-types.rs:25:1
28 LL | / struct Covariant<A> {
29 LL | | t: A, u: fn() -> A
34 --> $DIR/variance-types.rs:30:1
36 LL | / struct Contravariant<A> {
41 error[E0208]: [+, -, o]
42 --> $DIR/variance-types.rs:35:1
44 LL | / enum Enum<A,B,C> {
45 LL | | Foo(Covariant<A>),
46 LL | | Bar(Contravariant<B>),
47 LL | | Zed(Covariant<C>,Contravariant<C>)
51 error: aborting due to 6 previous errors