summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-58473.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-58473.rs')
-rw-r--r--tests/rustdoc-ui/issues/issue-58473.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-58473.rs b/tests/rustdoc-ui/issues/issue-58473.rs
new file mode 100644
index 000000000..44e1f58d0
--- /dev/null
+++ b/tests/rustdoc-ui/issues/issue-58473.rs
@@ -0,0 +1,10 @@
+// check-pass
+
+pub trait Foo {
+ /**
+ Does nothing, returns `()`
+
+ yadda-yadda-yadda
+ */
+ fn foo() {}
+}