mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
17 lines
329 B
Rust
17 lines
329 B
Rust
#![feature(rustc_attrs)]
|
|
#![feature(rustdoc_internals)]
|
|
#![no_std]
|
|
|
|
// https://github.com/rust-lang/rust/issues/23511
|
|
#![crate_name="issue_23511"]
|
|
|
|
pub mod str {
|
|
#![rustc_doc_primitive = "str"]
|
|
|
|
impl str {
|
|
//@ hasraw search-index.js foo
|
|
#[rustc_allow_incoherent_impl]
|
|
pub fn foo(&self) {}
|
|
}
|
|
}
|