diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-09 10:27:48 -0700 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-09 10:27:48 -0700 |
| commit | fe351e9b8eb19aeda4a34f4c64c75ffb60600cc0 (patch) | |
| tree | 9371f9fb83e20bc8d99763d7e44a3325050dc9f8 /src/test/rustdoc | |
| parent | 08d3a74a8f2538714129386f3f1a7153c49c9300 (diff) | |
| download | rust-fe351e9b8eb19aeda4a34f4c64c75ffb60600cc0.tar.gz rust-fe351e9b8eb19aeda4a34f4c64c75ffb60600cc0.zip | |
Add test
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/intra-links.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/rustdoc/intra-links.rs b/src/test/rustdoc/intra-links.rs index c6725f526aa..751c10925c0 100644 --- a/src/test/rustdoc/intra-links.rs +++ b/src/test/rustdoc/intra-links.rs @@ -46,6 +46,8 @@ macro_rules! this_macro { () => {}; } +// @has intra_links/struct.ThisType.html '//a/@href' '../intra_links/macro.this_macro.html' +/// another link to [`this_macro!()`] pub struct ThisType; impl ThisType { @@ -70,7 +72,7 @@ pub trait SoAmbiguous {} pub fn SoAmbiguous() {} -// @has - '//a/@href' '../intra_links/struct.ThisType.html' +// @has intra_links/struct.SomeOtherType.html '//a/@href' '../intra_links/struct.ThisType.html' // @has - '//a/@href' '../intra_links/struct.ThisType.html#method.this_method' // @has - '//a/@href' '../intra_links/enum.ThisEnum.html' // @has - '//a/@href' '../intra_links/enum.ThisEnum.html#variant.ThisVariant' |
