2023-01-16 04:30:50 -06:00
|
|
|
error: [+, +]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-trait-bounds.rs:16:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | struct TestStruct<U,T:Setter<U>> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-01-16 04:30:50 -06:00
|
|
|
error: [*, +]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-trait-bounds.rs:21:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | enum TestEnum<U,T:Setter<U>> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-01-16 04:30:50 -06:00
|
|
|
error: [*, +]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-trait-bounds.rs:26:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | struct TestContraStruct<U,T:Setter<U>> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-01-16 04:30:50 -06:00
|
|
|
error: [*, +]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-trait-bounds.rs:31:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | struct TestBox<U,T:Getter<U>+Setter<U>> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|