]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-fn-rbrace.rs
Rollup merge of #57434 - nnethercote:rm-CrateNum-Invalid, r=petrochenkov
[rust.git] / src / test / ui / parser / doc-before-fn-rbrace.rs
1 // compile-flags: -Z continue-parse-after-error
2
3 fn main() {
4     /// document
5     //~^ ERROR found a documentation comment that doesn't document anything
6     //~| HELP maybe a comment was intended
7 }