]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/raw-ident-eliminate-r-hashtag.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / rustdoc / raw-ident-eliminate-r-hashtag.rs
1 // ignore-tidy-linelength
2
3 #![crate_type="lib"]
4
5 pub mod internal {
6 // @has 'raw_ident_eliminate_r_hashtag/internal/struct.mod.html'
7 pub struct r#mod;
8
9 /// See [name], [other name]
10 ///
11 /// [name]: mod
12 /// [other name]: crate::internal::mod
13 // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="../../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
14 // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="../../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'other name'
15 pub struct B;
16 }
17
18 /// See [name].
19 ///
20 /// [name]: internal::mod
21 // @has 'raw_ident_eliminate_r_hashtag/struct.A.html' '//*a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
22 pub struct A;