]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/doc-after-struct-field.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / parser / doc-after-struct-field.rs
index 5b6f080360336c48dd3bb2639dc1d3d0587d7c00..03faa6733e21feaceba53a6f4bcb2f94251a77df 100644 (file)
@@ -1,13 +1,13 @@
 struct X {
     a: u8 /** document a */,
     //~^ ERROR found a documentation comment that doesn't document anything
-    //~| HELP maybe a comment was intended
+    //~| HELP if a comment was intended use `//`
 }
 
 struct Y {
     a: u8 /// document a
     //~^ ERROR found a documentation comment that doesn't document anything
-    //~| HELP maybe a comment was intended
+    //~| HELP if a comment was intended use `//`
 }
 
 fn main() {