]> git.proxmox.com Git - rustc.git/blame - src/test/ui/variance/variance-types-bounds.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / variance / variance-types-bounds.stderr
CommitLineData
b7449926 1error[E0208]: [+, +]
0731742a 2 --> $DIR/variance-types-bounds.rs:7:1
b7449926 3 |
064997fb
FG
4LL | struct TestImm<A, B> {
5 | ^^^^^^^^^^^^^^^^^^^^
b7449926
XL
6
7error[E0208]: [+, o]
0731742a 8 --> $DIR/variance-types-bounds.rs:13:1
b7449926 9 |
064997fb
FG
10LL | struct TestMut<A, B:'static> {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
b7449926
XL
12
13error[E0208]: [+, o]
0731742a 14 --> $DIR/variance-types-bounds.rs:19:1
b7449926 15 |
064997fb
FG
16LL | struct TestIndirect<A:'static, B:'static> {
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
b7449926
XL
18
19error[E0208]: [o, o]
0731742a 20 --> $DIR/variance-types-bounds.rs:24:1
b7449926 21 |
064997fb
FG
22LL | struct TestIndirect2<A:'static, B:'static> {
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
b7449926
XL
24
25error[E0208]: [o, o]
0731742a 26 --> $DIR/variance-types-bounds.rs:38:1
b7449926 27 |
064997fb
FG
28LL | struct TestObject<A, R> {
29 | ^^^^^^^^^^^^^^^^^^^^^^^
b7449926
XL
30
31error: aborting due to 5 previous errors
32