File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/test/rustdoc/intra-doc Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11#![ deny( rustdoc:: broken_intra_doc_links) ]
2+ #![ allow( incomplete_features) ] // inherent_associated_types
23#![ feature( lang_items) ]
34#![ feature( no_core) ]
45#![ feature( rustdoc_internals) ]
6+ #![ feature( inherent_associated_types) ]
57#![ no_core]
68
79#[ lang = "usize" ]
@@ -17,10 +19,9 @@ impl usize {
1719 /// 10 and 2^32 are basically the same.
1820 pub const MAX : usize = 10 ;
1921
20- // FIXME(#8995) uncomment this when associated types in inherent impls are supported
21- // @ has - '//a[@href="{{channel}}/std/primitive.usize.html#associatedtype.ME"]' 'Self::ME'
22- // / [Self::ME]
23- //pub type ME = usize;
22+ // @has - '//a[@href="primitive.usize.html#associatedtype.ME"]' 'Self::ME'
23+ /// [Self::ME]
24+ pub type ME = usize ;
2425}
2526
2627#[ doc( primitive = "usize" ) ]
You can’t perform that action at this time.
0 commit comments