rust/src/libsyntax
Esteban Küber 03eca71381 Point at last valid token on failed expect_one_of
```rust
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)`
  --> $DIR/token-error-correct-3.rs:29:9
   |
25 |         foo()
   |             - expected one of `.`, `;`, `?`, `}`, or an operator after this
...
29 |     } else {
   |     ^ unexpected token
```
2017-03-24 23:37:25 -07:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Refactor parsing of trait object types 2017-03-21 23:01:53 +03:00
parse Point at last valid token on failed expect_one_of 2017-03-24 23:37:25 -07:00
print Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc 2017-03-19 10:56:08 +00:00
util Refactor out ast::ItemKind::MacroDef. 2017-03-10 08:08:32 -08:00
abi.rs Add support for x86-interrupt calling convention 2017-03-02 19:01:15 +01:00
ast.rs Refactor parsing of trait object types 2017-03-21 23:01:53 +03:00
attr.rs Liberalize attributes. 2017-03-14 04:39:21 +00:00
Cargo.toml Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
codemap.rs Refactor TokenStream. 2017-01-22 21:37:38 +00:00
config.rs Liberalize attributes. 2017-03-14 04:39:21 +00:00
diagnostic_list.rs Add long error explanations 2017-02-21 15:52:14 +01:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Rollup merge of #40556 - cramertj:stabilize-pub-restricted, r=petrochenkov 2017-03-20 23:44:59 -04:00
fold.rs Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc 2017-03-19 10:56:08 +00:00
json.rs Auto merge of #38955 - estebank:highlighted-diags, r=nikomatsakis 2017-01-20 09:33:10 +00:00
lib.rs Refactor Attribute to use Path and TokenStream instead of MetaItem. 2017-03-14 04:03:43 +00:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc 2017-03-19 10:56:08 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
symbol.rs Add catch expr to AST and disallow catch as a struct name 2017-03-11 22:26:52 -08:00
test.rs Give spans to individual path segments in AST 2017-03-10 08:21:45 -08:00
test_snippet.rs Fix multiple labels when some don't have message 2017-01-20 21:15:24 -08:00
tokenstream.rs Rollup merge of #40532 - jseyfried:improve_tokenstream_quoter, r=nrc 2017-03-19 20:51:09 -04:00
visit.rs Add catch expr to AST and disallow catch as a struct name 2017-03-11 22:26:52 -08:00