1 #![deny(broken_intra_doc_links)]
2 #![feature(lang_items)]
9 // @has intra_link_prim_self/primitive.usize.html
10 // @has - '//a[@href="primitive.usize.html#method.f"]' 'Self::f'
11 // @has - '//a[@href="primitive.usize.html#associatedconstant.MAX"]' 'Self::MAX'
16 /// 10 and 2^32 are basically the same.
17 pub const MAX: usize = 10;
19 // FIXME(#8995) uncomment this when associated types in inherent impls are supported
20 // @ has - '//a[@href="{{channel}}/std/primitive.usize.html#associatedtype.ME"]' 'Self::ME'
22 //pub type ME = usize;
25 #[doc(primitive = "usize")]
26 /// This has some docs.