]>
git.proxmox.com Git - rustc.git/blob - tests/rustdoc/intra-doc/no-doc-primitive.rs
1 // Crate tree without a `doc(primitive)` module for primitive type linked to by a doc link.
3 #![deny(rustdoc::broken_intra_doc_links)]
4 #![feature(no_core, lang_items, rustc_attrs)]
6 #![rustc_coherence_is_core]
7 #![crate_type = "rlib"]
9 // @has no_doc_primitive/index.html
10 //! A [`char`] and its [`char::len_utf8`].
12 pub fn len_utf8(self) -> usize {