fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: cannot define duplicate `where` clauses on an item 2 --> $DIR/duplicate-where-clauses.rs:1:32 3 | 4LL | struct A where (): Sized where (): Sized {} 5 | - ^ 6 | | 7 | previous `where` clause starts here 8 | 9help: consider joining the two `where` clauses into one 10 | 11LL | struct A where (): Sized, (): Sized {} 12 | ~ 13 14error: cannot define duplicate `where` clauses on an item 15 --> $DIR/duplicate-where-clauses.rs:4:30 16 | 17LL | fn b() where (): Sized where (): Sized {} 18 | - ^ 19 | | 20 | previous `where` clause starts here 21 | 22help: consider joining the two `where` clauses into one 23 | 24LL | fn b() where (): Sized, (): Sized {} 25 | ~ 26 27error: cannot define duplicate `where` clauses on an item 28 --> $DIR/duplicate-where-clauses.rs:7:30 29 | 30LL | enum C where (): Sized where (): Sized {} 31 | - ^ 32 | | 33 | previous `where` clause starts here 34 | 35help: consider joining the two `where` clauses into one 36 | 37LL | enum C where (): Sized, (): Sized {} 38 | ~ 39 40error: cannot define duplicate `where` clauses on an item 41 --> $DIR/duplicate-where-clauses.rs:10:33 42 | 43LL | struct D where (): Sized, where (): Sized {} 44 | - ^ 45 | | 46 | previous `where` clause starts here 47 | 48help: consider joining the two `where` clauses into one 49 | 50LL | struct D where (): Sized, (): Sized {} 51 | ~ 52 53error: cannot define duplicate `where` clauses on an item 54 --> $DIR/duplicate-where-clauses.rs:13:31 55 | 56LL | fn e() where (): Sized, where (): Sized {} 57 | - ^ 58 | | 59 | previous `where` clause starts here 60 | 61help: consider joining the two `where` clauses into one 62 | 63LL | fn e() where (): Sized, (): Sized {} 64 | ~ 65 66error: cannot define duplicate `where` clauses on an item 67 --> $DIR/duplicate-where-clauses.rs:16:31 68 | 69LL | enum F where (): Sized, where (): Sized {} 70 | - ^ 71 | | 72 | previous `where` clause starts here 73 | 74help: consider joining the two `where` clauses into one 75 | 76LL | enum F where (): Sized, (): Sized {} 77 | ~ 78 79error: aborting due to 6 previous errors 80