summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/doc-before-rbrace.rs
blob: 570306f2cdf83d14fbcf7f0d89a7604229005da1 (plain)
1
2
3
4
5
fn main() {
    println!("Hi"); /// hi
    //~^ ERROR found a documentation comment that doesn't document anything
    //~| HELP if a comment was intended use `//`
}