]> git.proxmox.com Git - rustc.git/blame - src/test/ui/structs/struct-missing-comma.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / structs / struct-missing-comma.rs
CommitLineData
94b46f34 1// Issue #50636
f035d41b 2// run-rustfix
94b46f34 3
f035d41b
XL
4pub struct S {
5 pub foo: u32 //~ expected `,`, or `}`, found keyword `pub`
94b46f34 6 // ~^ HELP try adding a comma: ','
f035d41b 7 pub bar: u32
94b46f34 8}
041b39d2 9
7453a54e 10fn main() {
f035d41b 11 let _ = S { foo: 5, bar: 6 };
223e47cc 12}