fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
635 B34 linesraw
1error[E0208]: [+, +]
2  --> $DIR/variance-trait-bounds.rs:16:1
3   |
4LL | / struct TestStruct<U,T:Setter<U>> {
5LL | |     t: T, u: U
6LL | | }
7   | |_^
8
9error[E0208]: [*, +]
10  --> $DIR/variance-trait-bounds.rs:21:1
11   |
12LL | / enum TestEnum<U,T:Setter<U>> {
13LL | |     Foo(T)
14LL | | }
15   | |_^
16
17error[E0208]: [*, +]
18  --> $DIR/variance-trait-bounds.rs:26:1
19   |
20LL | / struct TestContraStruct<U,T:Setter<U>> {
21LL | |     t: T
22LL | | }
23   | |_^
24
25error[E0208]: [*, +]
26  --> $DIR/variance-trait-bounds.rs:31:1
27   |
28LL | / struct TestBox<U,T:Getter<U>+Setter<U>> {
29LL | |     t: T
30LL | | }
31   | |_^
32
33error: aborting due to 4 previous errors
34