]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-23511.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / rustdoc / issue-23511.rs
1 #![feature(rustc_attrs)]
2 #![feature(rustdoc_internals)]
3 #![no_std]
4
5 pub mod str {
6     #![doc(primitive = "str")]
7
8     impl str {
9         // @hasraw search-index.js foo
10         #[rustc_allow_incoherent_impl]
11         pub fn foo(&self) {}
12     }
13 }