3 // ignore-tidy-linelength
7 impl MyTrait for MyStruct {
9 // @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#associatedtype.AssoType'
13 /// [`AssoType`]: MyStruct::AssoType
16 // @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#associatedconstant.ASSO_CONST'
20 /// [`ASSO_CONST`]: MyStruct::ASSO_CONST
21 const ASSO_CONST: i32 = 10;
23 // @has foo/struct.MyStruct.html '//a/@href' '../foo/struct.MyStruct.html#method.trait_fn'
27 /// [`trait_fn`]: MyStruct::trait_fn
33 const ASSO_CONST: i32 = 1;