]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-23511.rs
Auto merge of #100378 - compiler-errors:rollup-8vzsd92, r=compiler-errors
[rust.git] / src / test / 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         // @has search-index.js foo
10         #[rustc_allow_incoherent_impl]
11         pub fn foo(&self) {}
12     }
13 }