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);
21 NewInt <T: Copy>(pub i32, SomeType /* inline comment */, T /* sup */
29 G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
32 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, // Comment
33 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
41 struct Tuple(/*Comment 1*/ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
42 /* Comment 2 */ BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,);
44 // With a where clause and generics.
45 pub struct Foo<'a, Y: Baz>
48 f: SomeType, // Comment beside a field
94 // Will this be a one-liner?
100 pub struct State<F: FnMut() -> time::Timespec> { now: F }
102 pub struct State<F: FnMut() -> ()> { now: F }
104 pub struct State<F: FnMut()> { now: F }
106 struct Palette { /// A map of indizes in the palette to a count of pixels in approximately that color