error[E0208]: [+, +] --> $DIR/variance-types-bounds.rs:7:1 | LL | / struct TestImm { LL | | x: A, LL | | y: B, LL | | } | |_^ error[E0208]: [+, o] --> $DIR/variance-types-bounds.rs:13:1 | LL | / struct TestMut { LL | | x: A, LL | | y: &'static mut B, LL | | } | |_^ error[E0208]: [+, o] --> $DIR/variance-types-bounds.rs:19:1 | LL | / struct TestIndirect { LL | | m: TestMut LL | | } | |_^ error[E0208]: [o, o] --> $DIR/variance-types-bounds.rs:24:1 | LL | / struct TestIndirect2 { LL | | n: TestMut, LL | | m: TestMut LL | | } | |_^ error[E0208]: [o, o] --> $DIR/variance-types-bounds.rs:38:1 | LL | / struct TestObject { LL | | n: Box+Send>, LL | | m: Box+Send>, LL | | } | |_^ error: aborting due to 5 previous errors