summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/doc-alias-whitespace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/doc-alias-whitespace.rs')
-rw-r--r--tests/rustdoc-js/doc-alias-whitespace.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-js/doc-alias-whitespace.rs b/tests/rustdoc-js/doc-alias-whitespace.rs
new file mode 100644
index 000000000..16c022c74
--- /dev/null
+++ b/tests/rustdoc-js/doc-alias-whitespace.rs
@@ -0,0 +1,2 @@
+#[doc(alias = "Demon Lord")]
+pub struct Struct;