]> git.lizzy.rs Git - rust.git/blob - src/test/ui/variance/variance-types-bounds.stderr
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[rust.git] / src / test / ui / variance / variance-types-bounds.stderr
1 error[E0208]: [+, +]
2   --> $DIR/variance-types-bounds.rs:7:1
3    |
4 LL | struct TestImm<A, B> {
5    | ^^^^^^^^^^^^^^^^^^^^
6
7 error[E0208]: [+, o]
8   --> $DIR/variance-types-bounds.rs:13:1
9    |
10 LL | struct TestMut<A, B:'static> {
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0208]: [+, o]
14   --> $DIR/variance-types-bounds.rs:19:1
15    |
16 LL | struct TestIndirect<A:'static, B:'static> {
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0208]: [o, o]
20   --> $DIR/variance-types-bounds.rs:24:1
21    |
22 LL | struct TestIndirect2<A:'static, B:'static> {
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0208]: [o, o]
26   --> $DIR/variance-types-bounds.rs:38:1
27    |
28 LL | struct TestObject<A, R> {
29    | ^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32