1
Fork 0

Re-blessed tests.

This commit is contained in:
Alexander Regueiro 2019-02-10 17:45:11 +00:00
parent 568f9a60ef
commit f943296a76
3 changed files with 3 additions and 1 deletions

View file

@ -8,4 +8,5 @@ struct S {
y: u8, y: u8,
} }
//~^^^ ERROR found a documentation comment that doesn't document anything //~^^^ ERROR found a documentation comment that doesn't document anything
fn main() {} fn main() {}

View file

@ -8,4 +8,5 @@ struct S {
y: u8, y: u8,
} }
//~^^^ ERROR found a documentation comment that doesn't document anything //~^^^ ERROR found a documentation comment that doesn't document anything
fn main() {} fn main() {}

View file

@ -3,7 +3,7 @@ error[E0585]: found a documentation comment that doesn't document anything
| |
LL | x: u8 LL | x: u8
| - help: missing comma here: `,` | - help: missing comma here: `,`
LL | /// The id of the parent core LL | /// The ID of the parent core
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= help: doc comments must come before what they document, maybe a comment was intended with `//`? = help: doc comments must come before what they document, maybe a comment was intended with `//`?