fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: where clauses are not allowed before tuple struct bodies 2 --> $DIR/recover-where-clause-before-tuple-struct-body-0.rs:5:1 3 | 4LL | pub struct Example 5 | ------- while parsing this tuple struct 6LL | / where 7LL | | (): Sized, 8 | |______________^ unexpected where clause 9LL | (usize); 10 | ------- the struct body 11 | 12help: move the body before the where clause 13 | 14LL ~ pub struct Example(usize) 15LL | where 16LL ~ (): Sized; 17 | 18 19error: where clauses are not allowed before tuple struct bodies 20 --> $DIR/recover-where-clause-before-tuple-struct-body-0.rs:11:1 21 | 22LL | struct _Demo 23 | ----- while parsing this tuple struct 24LL | / where 25LL | | (): Sized, 26LL | | String: Clone, 27 | |__________________^ unexpected where clause 28LL | (pub usize, usize); 29 | ------------------ the struct body 30 | 31help: move the body before the where clause 32 | 33LL ~ struct _Demo(pub usize, usize) 34LL | where 35LL | (): Sized, 36LL ~ String: Clone; 37 | 38 39error: aborting due to 2 previous errors 40