]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-rbrace.rs
Auto merge of #56838 - Aaron1011:fix/rustdoc-infer-unify, r=nikomatsakis
[rust.git] / src / test / ui / parser / doc-before-rbrace.rs
1 // compile-flags: -Z parse-only
2
3 fn main() {
4     println!("Hi"); /// hi
5     //~^ ERROR found a documentation comment that doesn't document anything
6     //~| HELP maybe a comment was intended
7 }