]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-mod-rbrace.rs
Rollup merge of #56796 - KrishnaSannasi:try_from_impl_change, r=shepmaster
[rust.git] / src / test / ui / parser / doc-before-mod-rbrace.rs
1 // compile-flags: -Z continue-parse-after-error
2
3 mod Foo {
4     /// document
5     //~^ ERROR expected item after doc comment
6 }
7
8 fn main() {}