about summary refs log tree commit diff
path: root/src/test/parse-fail/recover-struct.rs
AgeCommit message (Collapse)AuthorLines
2018-10-21Move parse-fail tests to UIVadim Petrochenkov-19/+0
2016-10-26Recover out of an enum or struct's braced block.Geoffry Song-0/+19
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.