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