]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/doc-after-struct-field.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / doc-after-struct-field.rs
1 struct X {
2 a: u8 /** document a */,
3 //~^ ERROR found a documentation comment that doesn't document anything
4 //~| HELP if a comment was intended use `//`
5 }
6
7 struct Y {
8 a: u8 /// document a
9 //~^ ERROR found a documentation comment that doesn't document anything
10 //~| HELP if a comment was intended use `//`
11 }
12
13 fn main() {
14 let x = X { a: 1 };
15 let y = Y { a: 1 };
16 }