rust/src/libsyntax
Geoffry Song c9036ccffe 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.
2016-10-26 22:27:14 -04:00
..
diagnostics libsyntax: clearer names for some AST parts 2016-09-28 22:31:18 +02:00
ext Refactor away fields MacroDef::{use_locally, export}. 2016-10-24 00:43:19 +00:00
parse Recover out of an enum or struct's braced block. 2016-10-26 22:27:14 -04:00
print Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis 2016-10-19 23:15:00 +02:00
util Get rid of double indirection in string interner by using Rc<str> 2016-10-13 01:15:33 +03:00
abi.rs check target abi support 2016-10-24 15:59:53 +02:00
ast.rs Refactor away fields MacroDef::{use_locally, export}. 2016-10-24 00:43:19 +00:00
attr.rs rustc_metadata: go only through rustc_serialize in astencode. 2016-09-20 20:07:54 +03:00
Cargo.toml Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
codemap.rs Rename Parser::last_span as prev_span. 2016-10-05 08:53:18 +11:00
config.rs Add invalid doc comment help message 2016-10-18 22:39:01 +02:00
diagnostic_list.rs Implement RFC#1559: allow all literals in attributes. 2016-08-25 13:25:22 -07:00
entry.rs [breaking-change] don't glob export ast::Item_ variants 2016-02-11 12:34:48 +01:00
feature_gate.rs Rollup merge of #37265 - brson:bootstrap, r=alexcrichton 2016-10-19 08:00:04 +03:00
fold.rs Rollup merge of #34764 - pnkfelix:attrs-on-generic-formals, r=eddyb 2016-10-01 19:22:39 +05:30
json.rs Allow supplying an error destination via the compiler driver 2016-09-28 16:20:30 +13:00
lib.rs Stabilise ? 2016-10-12 08:40:22 +13:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs Remove the type parameter from syntax::visit::Visitor 2016-06-14 07:40:32 +00:00
std_inject.rs Combine std_inject::{no_core, no_std} into std_inject::injected_crate_name. 2016-10-07 21:54:01 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Rollup merge of #36599 - jonas-schievink:whats-a-pirates-favorite-data-structure, r=pnkfelix 2016-10-01 19:22:12 +05:30
tokenstream.rs Improve $crate. 2016-10-19 10:03:06 +00:00
visit.rs Rollup merge of #34764 - pnkfelix:attrs-on-generic-formals, r=eddyb 2016-10-01 19:22:39 +05:30