]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/intra-doc/raw-ident-self.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / rustdoc / intra-doc / raw-ident-self.rs
1 #![deny(rustdoc::broken_intra_doc_links)]
2 pub mod r#impl {
3     pub struct S;
4
5     impl S {
6         /// See [Self::b].
7         // @has raw_ident_self/impl/struct.S.html
8         // @has - '//a[@href="struct.S.html#method.b"]' 'Self::b'
9         pub fn a() {}
10
11         pub fn b() {}
12     }
13 }