fork/rust

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

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

master
341 B15 linesraw
1// Regression test for issues #100790 and #106439.
2// run-rustfix
3
4pub struct Example(usize)
5where
6    (): Sized;
7//~^^^ ERROR where clauses are not allowed before tuple struct bodies
8
9struct _Demo(pub usize, usize)
10where
11    (): Sized,
12    String: Clone;
13//~^^^^ ERROR where clauses are not allowed before tuple struct bodies
14
15fn main() {}