about summary refs log tree commit diff
path: root/src/test/ui/parser/struct-default-values-and-missing-field-separator.rs
AgeCommit message (Collapse)AuthorLines
2021-05-11Recover from invalid `struct` item syntaxEsteban Küber-0/+35
Parse unsupported "default field const values": ```rust struct S { field: Type = const_val, } ``` Recover from small `:` typo and provide suggestion: ```rust struct S { field; Type, field2= Type, } ```