]> git.lizzy.rs Git - rust.git/blob - src/test/ui/variance/variance-trait-bounds.stderr
Auto merge of #94216 - psumbera:sparc64-abi-fix2, r=nagisa
[rust.git] / src / test / ui / variance / variance-trait-bounds.stderr
1 error[E0208]: [+, +]
2   --> $DIR/variance-trait-bounds.rs:16:1
3    |
4 LL | / struct TestStruct<U,T:Setter<U>> {
5 LL | |     t: T, u: U
6 LL | | }
7    | |_^
8
9 error[E0208]: [*, +]
10   --> $DIR/variance-trait-bounds.rs:21:1
11    |
12 LL | / enum TestEnum<U,T:Setter<U>> {
13 LL | |     Foo(T)
14 LL | | }
15    | |_^
16
17 error[E0208]: [*, +]
18   --> $DIR/variance-trait-bounds.rs:26:1
19    |
20 LL | / struct TestContraStruct<U,T:Setter<U>> {
21 LL | |     t: T
22 LL | | }
23    | |_^
24
25 error[E0208]: [*, +]
26   --> $DIR/variance-trait-bounds.rs:31:1
27    |
28 LL | / struct TestBox<U,T:Getter<U>+Setter<U>> {
29 LL | |     t: T
30 LL | | }
31    | |_^
32
33 error: aborting due to 4 previous errors
34