about summary refs log tree commit diff
path: root/src/test/rustdoc/proc-macro.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-17 20:41:37 +0000
committerbors <bors@rust-lang.org>2021-04-17 20:41:37 +0000
commit392ba2ba1a7d6c542d2459fb8133bebf62a4a423 (patch)
tree4b21d63dfc13864287cf392c901a998ecb33a386 /src/test/rustdoc/proc-macro.rs
parentbd9949b8e6577631f8e2757a4a007098e6a88b7d (diff)
parenta3277e2a0a2ccd165f5ea7dd485828051d31e030 (diff)
downloadrust-392ba2ba1a7d6c542d2459fb8133bebf62a4a423.tar.gz
rust-392ba2ba1a7d6c542d2459fb8133bebf62a4a423.zip
Auto merge of #84279 - Dylan-DPC:rollup-k7otd7e, r=Dylan-DPC
Rollup of 4 pull requests

Successful merges:

 - #83237 (rustdoc: use more precise relative URLs)
 - #84150 (rustdoc: move some search code into search.js)
 - #84203 (rustdoc: Give a more accurate span for anchor failures)
 - #84257 (Add documentation to help people find `Ipv4Addr::UNSPECIFIED`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'src/test/rustdoc/proc-macro.rs')
-rw-r--r--src/test/rustdoc/proc-macro.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc/proc-macro.rs b/src/test/rustdoc/proc-macro.rs
index 82196e413e9..f6d1f2cf91b 100644
--- a/src/test/rustdoc/proc-macro.rs
+++ b/src/test/rustdoc/proc-macro.rs
@@ -61,12 +61,12 @@ pub fn some_derive(_item: TokenStream) -> TokenStream {
 // @has some_macros/foo/index.html
 mod foo {
     // @has - '//code' 'pub use some_proc_macro;'
-    // @has - '//a/@href' '../../some_macros/macro.some_proc_macro.html'
+    // @has - '//a/@href' '../macro.some_proc_macro.html'
     pub use some_proc_macro;
     // @has - '//code' 'pub use some_proc_attr;'
-    // @has - '//a/@href' '../../some_macros/attr.some_proc_attr.html'
+    // @has - '//a/@href' '../attr.some_proc_attr.html'
     pub use some_proc_attr;
     // @has - '//code' 'pub use some_derive;'
-    // @has - '//a/@href' '../../some_macros/derive.SomeDerive.html'
+    // @has - '//a/@href' '../derive.SomeDerive.html'
     pub use some_derive;
 }