fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
476 B17 linesraw
1error: where clauses are not allowed before tuple struct bodies
2  --> $DIR/issue-17904.rs:6:15
3   |
4LL | struct Foo<T> where T: Copy, (T);
5   |        ---    ^^^^^^^^^^^^^^ --- the struct body
6   |        |      |
7   |        |      unexpected where clause
8   |        while parsing this tuple struct
9   |
10help: move the body before the where clause
11   |
12LL - struct Foo<T> where T: Copy, (T);
13LL + struct Foo<T>(T) where T: Copy;
14   |
15
16error: aborting due to previous error
17