Skip to content

Commit ecfeac5

Browse files
poliorceticsJoshua Nelson
and
Joshua Nelson
authored
Use intradoc-links for the whole test, add a @Has check
Co-authored-by: Joshua Nelson <[email protected]>
1 parent 9c70696 commit ecfeac5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/rustdoc/raw-ident-eliminate-r-hashtag.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// ignore-tidy-linelength
22

33
pub mod internal {
4+
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.mod.html'
45
pub struct r#mod;
56

67
/// See [name], [other name]
78
///
89
/// [name]: mod
9-
/// [other name]: ../internal/struct.mod.html
10+
/// [other name]: crate::internal::mod
1011
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
1112
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'other name'
1213
pub struct B;

0 commit comments

Comments
 (0)