X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fparser%2Fdoc-before-rbrace.rs;h=570306f2cdf83d14fbcf7f0d89a7604229005da1;hb=2b03887add1ca379893ea11d649eab442706f514;hp=8ff946344aee8ccde9361e1c8cd6c43218b86a7f;hpb=f2b60f7d56372b42cd474522dab4a649f2c6f1a5;p=rustc.git diff --git a/src/test/ui/parser/doc-before-rbrace.rs b/src/test/ui/parser/doc-before-rbrace.rs index 8ff946344a..570306f2cd 100644 --- a/src/test/ui/parser/doc-before-rbrace.rs +++ b/src/test/ui/parser/doc-before-rbrace.rs @@ -1,5 +1,5 @@ fn main() { println!("Hi"); /// hi //~^ ERROR found a documentation comment that doesn't document anything - //~| HELP maybe a comment was intended + //~| HELP if a comment was intended use `//` }