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
66 // Will this be a one-liner?
67 struct Tuple(A /* Comment */, B);
69 pub struct State<F: FnMut() -> time::Timespec> {
73 pub struct State<F: FnMut() -> ()> {
77 pub struct State<F: FnMut()> {