]>
Commit | Line | Data |
---|---|---|
94b46f34 | 1 | // Issue #50636 |
f035d41b | 2 | // run-rustfix |
94b46f34 | 3 | |
f035d41b XL |
4 | pub 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 | 10 | fn main() { |
f035d41b | 11 | let _ = S { foo: 5, bar: 6 }; |
223e47cc | 12 | } |