mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
27 lines
616 B
Plaintext
27 lines
616 B
Plaintext
error: [+, +]
|
|
--> $DIR/variance-trait-bounds.rs:16:1
|
|
|
|
|
LL | struct TestStruct<U,T:Setter<U>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [*, +]
|
|
--> $DIR/variance-trait-bounds.rs:21:1
|
|
|
|
|
LL | enum TestEnum<U,T:Setter<U>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [*, +]
|
|
--> $DIR/variance-trait-bounds.rs:26:1
|
|
|
|
|
LL | struct TestContraStruct<U,T:Setter<U>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [*, +]
|
|
--> $DIR/variance-trait-bounds.rs:31:1
|
|
|
|
|
LL | struct TestBox<U,T:Getter<U>+Setter<U>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|