rust/src/libsyntax
David Wood 60c6ed9664
Fix fn front matter parsing ICE from invalid code.
This commit fixes an "unreachable code" ICE that results from parsing
invalid code where the compiler is expecting the next trait item
declaration in the middle of the previous trait item due to extra
closing braces.
2019-04-20 11:36:04 +01:00
..
attr Make check_name generic 2019-04-15 07:23:02 +02:00
diagnostics remove lookup_char_pos_adj 2019-04-05 23:16:09 +03:00
ext make duplicate matcher bindings a hard error 2019-04-10 21:29:17 -05:00
parse Fix fn front matter parsing ICE from invalid code. 2019-04-20 11:36:04 +01:00
print Auto merge of #59227 - Zoxc:fix-get, r=eddyb 2019-04-11 23:36:13 +00:00
util rustc: doc comments 2019-02-10 23:42:32 +00:00
ast.rs Ensure the symbols are pure strings 2019-04-15 07:23:02 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping 2019-04-15 15:20:05 +02:00
config.rs Separate variant id and variant constructor id. 2019-03-24 12:10:16 +03:00
early_buffered_lints.rs make duplicate matcher bindings a hard error 2019-04-10 21:29:17 -05:00
entry.rs libsyntax => 2018 2019-02-07 02:33:01 +09:00
error_codes.rs Rename diagnositc_list into error_codes 2019-04-18 06:21:30 +09:00
feature_gate.rs Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping 2019-04-15 15:20:05 +02:00
json.rs Rollup merge of #59128 - oli-obk:colorful_json, r=mark-i-m,eddyb 2019-04-17 10:31:30 +02:00
lib.rs Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
mut_visit.rs Separate variant id and variant constructor id. 2019-03-24 12:10:16 +03:00
ptr.rs Fix fallout from #57667 2019-03-09 18:23:17 +09:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Rename rustc_errors dependency in rust 2018 crates 2019-02-13 00:28:52 +09:00
source_map.rs remove lookup_char_pos_adj 2019-04-05 23:16:09 +03:00
std_inject.rs Use Rc<[Symbol]> instead of Vec<Symbol> to reduce # of allocs 2019-02-11 15:08:17 +01:00
test.rs Fix comments around test harness generation 2019-04-17 12:02:04 +03:00
test_snippet.rs Update more unit test to new API 2019-04-02 16:14:59 +02:00
tokenstream.rs Use SmallVec in TokenStreamBuilder. 2019-03-29 09:32:58 +11:00
visit.rs Rollup merge of #59510 - varkor:rename-type_parameters, r=eddyb 2019-03-29 12:32:32 +01:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: