]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-23511.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / rustdoc / issue-23511.rs
1 #![feature(lang_items)]
2 #![feature(rustdoc_internals)]
3 #![no_std]
4
5 pub mod str {
6     #![doc(primitive = "str")]
7
8     #[lang = "str_alloc"]
9     impl str {
10         // @has search-index.js foo
11         pub fn foo(&self) {}
12     }
13 }