1 error: cannot define duplicate `where` clauses on an item
2 --> $DIR/duplicate-where-clauses.rs:1:32
4 LL | struct A where (): Sized where (): Sized {}
7 | previous `where` clause starts here
9 help: consider joining the two `where` clauses into one
11 LL | struct A where (): Sized, (): Sized {}
14 error: cannot define duplicate `where` clauses on an item
15 --> $DIR/duplicate-where-clauses.rs:4:30
17 LL | fn b() where (): Sized where (): Sized {}
20 | previous `where` clause starts here
22 help: consider joining the two `where` clauses into one
24 LL | fn b() where (): Sized, (): Sized {}
27 error: cannot define duplicate `where` clauses on an item
28 --> $DIR/duplicate-where-clauses.rs:7:30
30 LL | enum C where (): Sized where (): Sized {}
33 | previous `where` clause starts here
35 help: consider joining the two `where` clauses into one
37 LL | enum C where (): Sized, (): Sized {}
40 error: cannot define duplicate `where` clauses on an item
41 --> $DIR/duplicate-where-clauses.rs:10:33
43 LL | struct D where (): Sized, where (): Sized {}
46 | previous `where` clause starts here
48 help: consider joining the two `where` clauses into one
50 LL | struct D where (): Sized, (): Sized {}
53 error: cannot define duplicate `where` clauses on an item
54 --> $DIR/duplicate-where-clauses.rs:13:31
56 LL | fn e() where (): Sized, where (): Sized {}
59 | previous `where` clause starts here
61 help: consider joining the two `where` clauses into one
63 LL | fn e() where (): Sized, (): Sized {}
66 error: cannot define duplicate `where` clauses on an item
67 --> $DIR/duplicate-where-clauses.rs:16:31
69 LL | enum F where (): Sized, where (): Sized {}
72 | previous `where` clause starts here
74 help: consider joining the two `where` clauses into one
76 LL | enum F where (): Sized, (): Sized {}
79 error: aborting due to 6 previous errors