]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-struct-rbrace-2.rs
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
[rust.git] / src / test / ui / parser / doc-before-struct-rbrace-2.rs
1 struct X {
2     a: u8 /// document
3     //~^ ERROR found a documentation comment that doesn't document anything
4     //~| HELP maybe a comment was intended
5 }
6
7 fn main() {
8     let y = X {a: 1};
9 }