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