]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/raw-ident-eliminate-r-hashtag.rs
Auto merge of #106773 - Nilstrieb:rollup-sq73pyg, r=Nilstrieb
[rust.git] / tests / 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     #[allow(non_camel_case_types)]
6     pub struct r#mod;
7
8     /// See [name], [other name]
9     ///
10     /// [name]: mod
11     /// [other name]: crate::internal::mod
12     // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="struct.mod.html"]' 'name'
13     // @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//*a[@href="struct.mod.html"]' 'other name'
14     pub struct B;
15 }
16
17 /// See [name].
18 ///
19 /// [name]: internal::mod
20 // @has 'raw_ident_eliminate_r_hashtag/struct.A.html' '//*a[@href="internal/struct.mod.html"]' 'name'
21 pub struct A;