]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-fn-rbrace.rs
Auto merge of #57925 - fintelia:riscv-cas, r=nagisa
[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 }