diff options
| author | bors <bors@rust-lang.org> | 2016-10-27 07:19:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-27 07:19:16 -0700 |
| commit | 07436946b6ee6345509b73c6e4dafb38b6a243f1 (patch) | |
| tree | a56e69caf107db740137ecedaf58c9c0711d8d8d /src/libstd/sys/common/util.rs | |
| parent | a0e31a5bfc9d3cf28955c4a80734f62840624641 (diff) | |
| parent | c9036ccffe30e9b05dee68fc82cbc957c983c702 (diff) | |
| download | rust-07436946b6ee6345509b73c6e4dafb38b6a243f1.tar.gz rust-07436946b6ee6345509b73c6e4dafb38b6a243f1.zip | |
Auto merge of #37245 - goffrie:recovery, r=nrc
Recover out of an enum or struct's braced block. 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.
Diffstat (limited to 'src/libstd/sys/common/util.rs')
0 files changed, 0 insertions, 0 deletions
