summary refs log tree commit diff
path: root/src/test/parse-fail/recover-enum2.rs
AgeCommit message (Collapse)AuthorLines
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-1/+1
2016-10-26Recover out of an enum or struct's braced block.Geoffry Song-0/+43
If we encounter a syntax error inside of a braced block, then we should fail by consuming the rest of the block if possible. This implements such recovery for enums and structs. Fixes #37113.