6 f : SomeType, // Comment beside a field
7 f: SomeType, // Comment beside a field
11 /// A doc comment on a field
13 pub i: TypeForPublicField,
18 struct NewType(Type, OtherType);
20 struct NewInt<T: Copy>(pub i32, SomeType /* inline comment */, T /* sup */);
25 G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
28 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, // Comment
29 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
39 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
41 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
44 // With a where clause and generics.
45 pub struct Foo<'a, Y: Baz>
48 f: SomeType, // Comment beside a field
84 // Will this be a one-liner?
85 struct Tuple(A /* Comment */, B);
87 pub struct State<F: FnMut() -> time::Timespec> {
91 pub struct State<F: FnMut() -> ()> {
95 pub struct State<F: FnMut()> {