2022-03-18 16:02:32 +00:00
|
|
|
#![feature(rustc_attrs)]
|
2021-11-26 23:03:16 +00:00
|
|
|
#![feature(rustdoc_internals)]
|
2015-04-08 00:35:23 +00:00
|
|
|
#![no_std]
|
|
|
|
|
2023-10-04 20:04:45 +00:00
|
|
|
// https://github.com/rust-lang/rust/issues/23511
|
2023-10-04 19:08:47 +00:00
|
|
|
#![crate_name="issue_23511"]
|
|
|
|
|
2015-04-08 00:35:23 +00:00
|
|
|
pub mod str {
|
2023-03-21 15:44:06 +00:00
|
|
|
#![rustc_doc_primitive = "str"]
|
2015-04-08 00:35:23 +00:00
|
|
|
|
|
|
|
impl str {
|
2022-08-10 20:13:18 +00:00
|
|
|
// @hasraw search-index.js foo
|
2022-03-18 16:02:32 +00:00
|
|
|
#[rustc_allow_incoherent_impl]
|
2015-04-08 00:35:23 +00:00
|
|
|
pub fn foo(&self) {}
|
|
|
|
}
|
|
|
|
}
|