Skip to content

Commit fe351e9

Browse files
committed
Add test
1 parent 08d3a74 commit fe351e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/rustdoc/intra-links.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ macro_rules! this_macro {
4646
() => {};
4747
}
4848

49+
// @has intra_links/struct.ThisType.html '//a/@href' '../intra_links/macro.this_macro.html'
50+
/// another link to [`this_macro!()`]
4951
pub struct ThisType;
5052

5153
impl ThisType {
@@ -70,7 +72,7 @@ pub trait SoAmbiguous {}
7072
pub fn SoAmbiguous() {}
7173

7274

73-
// @has - '//a/@href' '../intra_links/struct.ThisType.html'
75+
// @has intra_links/struct.SomeOtherType.html '//a/@href' '../intra_links/struct.ThisType.html'
7476
// @has - '//a/@href' '../intra_links/struct.ThisType.html#method.this_method'
7577
// @has - '//a/@href' '../intra_links/enum.ThisEnum.html'
7678
// @has - '//a/@href' '../intra_links/enum.ThisEnum.html#variant.ThisVariant'

0 commit comments

Comments
 (0)