]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/raw-ident-eliminate-r-hashtag.rs
Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitor
[rust.git] / src / test / rustdoc / raw-ident-eliminate-r-hashtag.rs
1 #![crate_type="lib"]
2
3 pub mod internal {
4     // @has 'raw_ident_eliminate_r_hashtag/internal/struct.mod.html'
5     pub struct r#mod;
6
7     /// See [name], [other name]
8     ///
9     /// [name]: mod
10     /// [other name]: crate::internal::mod
11     // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="struct.mod.html"]' 'name'
12     // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="struct.mod.html"]' 'other name'
13     pub struct B;
14 }
15
16 /// See [name].
17 ///
18 /// [name]: internal::mod
19 // @has 'raw_ident_eliminate_r_hashtag/struct.A.html' '//*a[@href="internal/struct.mod.html"]' 'name'
20 pub struct A;