1 // compile-flags:-Z unstable-options --generate-redirect-pages
3 // @has structfields/Foo.t.html
4 // @has - struct.Foo.html
5 // @has structfields/struct.Foo.html
7 // @has - //pre "pub a: ()"
9 // @has - //pre "// some fields omitted"
10 // @!has - //pre "b: ()"
12 // @!has - //pre "c: usize"
15 // @has - //pre "pub d: usize"
19 // @has structfields/Bar.t.html
20 // @has - struct.Bar.html
21 // @has structfields/struct.Bar.html
23 // @has - //pre "pub a: ()"
25 // @!has - //pre "// some fields omitted"
28 // @has structfields/Qux.t.html
29 // @has - enum.Qux.html
30 // @has structfields/enum.Qux.html
33 // @has - //pre "a: ()"
35 // @!has - //pre "b: ()"
38 // @has - //pre "c: usize"
40 // @has - //pre "// some fields omitted"
44 // @has structfields/struct.Baz.html //pre "pub struct Baz { /* fields omitted */ }"
51 // @has structfields/struct.Quux.html //pre "pub struct Quux {}"