about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-04-25 15:38:43 -0700
committerMichael Howell <michael@notriddle.com>2022-04-25 15:38:43 -0700
commitae38f3572041aa7779f01628e08f707a434ae2a6 (patch)
treef7ab5624ba2642bd005a399f12b265861adb97c6 /src/test/rustdoc
parent7417110cefda899a685a77557ac2bd7d7ee07e54 (diff)
downloadrust-ae38f3572041aa7779f01628e08f707a434ae2a6.tar.gz
rust-ae38f3572041aa7779f01628e08f707a434ae2a6.zip
rustdoc: do not write `{{root}}` in `pub use ::foo` docs
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-95873.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-95873.rs b/src/test/rustdoc/issue-95873.rs
new file mode 100644
index 00000000000..1ed7e582275
--- /dev/null
+++ b/src/test/rustdoc/issue-95873.rs
@@ -0,0 +1,2 @@
+// @!has issue_95873/index.html '{{root}}'
+pub use ::std as x;