blob: ea828e08d82ccfab6ee7cf32828f90526ddc541d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#![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/name/*.js foo
#[rustc_allow_incoherent_impl]
pub fn foo(&self) {}
}
}
|