2 --> $DIR/variance-types-bounds.rs:17:1
4 LL | / struct TestImm<A, B> { //~ ERROR [+, +]
11 --> $DIR/variance-types-bounds.rs:23:1
13 LL | / struct TestMut<A, B:'static> { //~ ERROR [+, o]
15 LL | | y: &'static mut B,
20 --> $DIR/variance-types-bounds.rs:29:1
22 LL | / struct TestIndirect<A:'static, B:'static> { //~ ERROR [+, o]
23 LL | | m: TestMut<A, B>
28 --> $DIR/variance-types-bounds.rs:34:1
30 LL | / struct TestIndirect2<A:'static, B:'static> { //~ ERROR [o, o]
31 LL | | n: TestMut<A, B>,
32 LL | | m: TestMut<B, A>
37 --> $DIR/variance-types-bounds.rs:48:1
39 LL | / struct TestObject<A, R> { //~ ERROR [o, o]
40 LL | | n: Box<Setter<A>+Send>,
41 LL | | m: Box<Getter<R>+Send>,
45 error: aborting due to 5 previous errors
47 For more information about this error, try `rustc --explain E0208`.