summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/intra-doc/raw-ident-self.rs
blob: 1ed33db9300b692574a6f7dca673c3546759e155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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() {}
    }
}