rust/tests/rustdoc/intra-doc/raw-ident-self.rs
2023-01-11 09:32:08 +00:00

14 lines
287 B
Rust

#![deny(rustdoc::broken_intra_doc_links)]
pub mod r#impl {
pub struct S;
impl S {
/// See [Self::b].
// @has raw_ident_self/impl/struct.S.html
// @has - '//a[@href="struct.S.html#method.b"]' 'Self::b'
pub fn a() {}
pub fn b() {}
}
}