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 1
1
#![ deny( rustdoc:: broken_intra_doc_links) ]
2
+ #![ allow( incomplete_features) ] // inherent_associated_types
2
3
#![ feature( lang_items) ]
3
4
#![ feature( no_core) ]
4
5
#![ feature( rustdoc_internals) ]
6
+ #![ feature( inherent_associated_types) ]
5
7
#![ no_core]
6
8
7
9
#[ lang = "usize" ]
@@ -17,10 +19,9 @@ impl usize {
17
19
/// 10 and 2^32 are basically the same.
18
20
pub const MAX : usize = 10 ;
19
21
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 ;
24
25
}
25
26
26
27
#[ doc( primitive = "usize" ) ]
You can’t perform that action at this time.
0 commit comments