blob: c17a8ec2f89916cef36b3143d4492a53226519fc (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | 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
LL |     /// The ID of the parent core
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: doc comments must come before what they document, if a comment was intended use `//`
help: missing comma here
   |
LL |     x: u8,
   |          +
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0585`.
 |