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