]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/raw-ident-eliminate-r-hashtag.rs
Merge commit '953f024793dab92745fee9cd2c4dee6a60451771' into clippyup
[rust.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;