summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-48636.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-48636.stderr')
-rw-r--r--tests/ui/parser/issues/issue-48636.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-48636.stderr b/tests/ui/parser/issues/issue-48636.stderr
new file mode 100644
index 000000000..6177870d1
--- /dev/null
+++ b/tests/ui/parser/issues/issue-48636.stderr
@@ -0,0 +1,15 @@
+error[E0585]: found a documentation comment that doesn't document anything
+ --> $DIR/issue-48636.rs:7:5
+ |
+LL | struct S {
+ | - while parsing this struct
+LL | x: u8
+ | - help: missing comma here: `,`
+LL | /// The ID of the parent core
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: doc comments must come before what they document, if a comment was intended use `//`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0585`.