1 // ignore-tidy-linelength
2 #![deny(broken_intra_doc_links)]
3 #![feature(lang_items)]
10 // @has intra_link_prim_self/primitive.usize.html
11 // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.usize.html#method.f"]' 'Self::f'
12 // @has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.usize.html#associatedconstant.MAX"]' 'Self::MAX'
17 /// 10 and 2^32 are basically the same.
18 pub const MAX: usize = 10;
20 // FIXME(#8995) uncomment this when associated types in inherent impls are supported
21 // @ has - '//a[@href="https://doc.rust-lang.org/nightly/std/primitive.usize.html#associatedtype.ME"]' 'Self::ME'
23 //pub type ME = usize;
26 #[doc(primitive = "usize")]
27 /// This has some docs.