2 --> $DIR/variance-associated-types.rs:23:1
4 LL | / struct Foo<'a, T : Trait<'a>> { //~ ERROR [-, +]
5 LL | | field: (T, &'a ())
10 --> $DIR/variance-associated-types.rs:28:1
12 LL | / struct Bar<'a, T : Trait<'a>> { //~ ERROR [o, o]
13 LL | | field: <T as Trait<'a>>::Type
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0208`.