]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-23511.rs
Rollup merge of #89642 - devnexen:macos_getenv_chng, r=m-ou-se
[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 }