summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/prototype.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/prototype.rs')
-rw-r--r--tests/rustdoc-js/prototype.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-js/prototype.rs b/tests/rustdoc-js/prototype.rs
new file mode 100644
index 000000000..5f6d73cc1
--- /dev/null
+++ b/tests/rustdoc-js/prototype.rs
@@ -0,0 +1,4 @@
+// The alias needed to be there to reproduce the bug
+// that used to be here.
+#[doc(alias="other_alias")]
+pub fn something_else() {}