]> git.proxmox.com Git - rustc.git/blobdiff - src/test/rustdoc/intra-doc/pub-use.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / rustdoc / intra-doc / pub-use.rs
index 579fa68cee8be37d1ff4e5b2a5516e77e4f0a682..b4f2d6b0617fa914e885eaa8b73582c5e4081b54 100644 (file)
@@ -12,7 +12,7 @@ extern crate inner;
 // documenting the re-export.
 
 // @has outer/index.html
-// @ has - '//a[@href="https://doc.rust-lang.org/nightly/std/env/fn.var.html"]' "std::env"
+// @ has - '//a[@href="{{channel}}/std/env/fn.var.html"]' "std::env"
 // @ has - '//a[@href="fn.f.html"]' "g"
 pub use f as g;
 
@@ -23,5 +23,5 @@ extern crate self as _;
 // Make sure the documentation is actually correct by documenting an inlined re-export
 /// [mod@std::env]
 // @has outer/fn.f.html
-// @has - '//a[@href="https://doc.rust-lang.org/nightly/std/env/index.html"]' "std::env"
+// @has - '//a[@href="{{channel}}/std/env/index.html"]' "std::env"
 pub use inner::f;