1 // aux-build:my-core.rs
3 // ignore-cross-compile
5 // ignore-tidy-linelength
7 #![deny(intra_doc_link_resolution_failure)]
8 #![feature(no_core, lang_items)]
10 #![crate_type = "rlib"]
12 // @has intra_link_prim_methods_external_core/index.html
13 // @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html"]' 'char'
14 // @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html#method.len_utf8"]' 'char::len_utf8'
16 //! A [`char`] and its [`char::len_utf8`].