about summary refs log tree commit diff
path: root/src/libstd/sys/common/util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-10-27 07:19:16 -0700
committerGitHub <noreply@github.com>2016-10-27 07:19:16 -0700
commit07436946b6ee6345509b73c6e4dafb38b6a243f1 (patch)
treea56e69caf107db740137ecedaf58c9c0711d8d8d /src/libstd/sys/common/util.rs
parenta0e31a5bfc9d3cf28955c4a80734f62840624641 (diff)
parentc9036ccffe30e9b05dee68fc82cbc957c983c702 (diff)
downloadrust-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