summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/auxiliary/html_root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/auxiliary/html_root.rs')
-rw-r--r--tests/rustdoc/auxiliary/html_root.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc/auxiliary/html_root.rs b/tests/rustdoc/auxiliary/html_root.rs
new file mode 100644
index 000000000..4eb0b700f
--- /dev/null
+++ b/tests/rustdoc/auxiliary/html_root.rs
@@ -0,0 +1,2 @@
+#![doc(html_root_url="https://example.com/html_root")]
+pub fn foo() {}