rust/src/libsyntax
Manish Goregaokar b52b33a386 Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=eddyb
Termination trait in tests

Support the `Termination` trait in unit tests (cc https://github.com/rust-lang/rust/issues/43301)

Also, a drive-by fix for #47075.

This is joint work with @bkchr.
2018-02-24 12:47:58 -08:00
..
diagnostics Replace dummy spans with empty spans 2018-02-18 00:10:40 +09:00
ext Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=eddyb 2018-02-24 12:47:58 -08:00
parse Rollup merge of #48083 - jseyfried:improve_tuple_struct_field_access_hygiene, r=petrochenkov 2018-02-23 10:24:47 -08:00
print Replace dummy spans with empty spans 2018-02-18 00:10:40 +09:00
util Move `ExprPrecedence` to `libsyntax/util/parser.rs` 2018-01-15 15:09:39 -08:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
README.md
abi.rs
ast.rs Auto merge of #47799 - topecongiro:fix-span-of-visibility, r=petrochenkov 2018-02-23 11:21:29 +00:00
attr.rs Implement repr(transparent) 2018-01-16 08:58:32 +01:00
build.rs
codemap.rs Remove unneeded string allocations 2018-02-16 15:23:28 -08:00
config.rs fix more typos found by codespell. 2018-02-17 17:38:49 +01:00
diagnostic_list.rs Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
entry.rs
feature_gate.rs Rollup merge of #48084 - cramertj:impl-trait-errors, r=nikomatsakis 2018-02-24 12:47:58 -08:00
fold.rs Replace dummy spans with empty spans 2018-02-18 00:10:40 +09:00
json.rs Auto merge of #47540 - Manishearth:suggestion, r=nrc 2018-02-01 04:47:46 +00:00
lib.rs remove tokenstream 2018-02-22 18:26:01 -05:00
ptr.rs syntax: Rename `P::unwrap` into `P::into_inner` 2017-12-17 02:21:29 +03:00
show_span.rs
std_inject.rs Replace dummy spans with empty spans 2018-02-18 00:10:40 +09:00
str.rs
test.rs Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=eddyb 2018-02-24 12:47:58 -08:00
test_snippet.rs Toggle span highlighting on `-Zteach` 2018-01-29 08:59:15 -08:00
tokenstream.rs Glued tokens can themselves be joint. 2018-01-10 17:20:04 -08:00
visit.rs Change ast::Visibility to Spanned type 2018-02-18 00:10:40 +09:00

README.md

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

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.