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