rust/src/libsyntax
bors 7046a40623 Auto merge of #47767 - estebank:as-suggestion, r=petrochenkov
Correctly format `extern crate` conflict resolution help

Closes #45799. Follow up to @Cldfire's #45820.

If the `extern` statement that will have a suggestion ends on a `;`, synthesize a new span that doesn't include it.
2018-01-28 07:44:14 +00:00
..
diagnostics Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
ext Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
parse Auto merge of #47767 - estebank:as-suggestion, r=petrochenkov 2018-01-28 07:44:14 +00:00
print Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00
util Move ExprPrecedence to libsyntax/util/parser.rs 2018-01-15 15:09:39 -08:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00
attr.rs Implement repr(transparent) 2018-01-16 08:58:32 +01:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
codemap.rs Fixed infinite loop issues and added some improved logging. 2018-01-27 13:30:34 +00:00
config.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
diagnostic_list.rs Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
fold.rs Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00
json.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
lib.rs Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
ptr.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
README.md rework the README.md for rustc and add other readmes 2017-09-19 09:00:59 -04:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Improve pretty printing $crate:: paths. 2017-12-12 22:32:19 -08:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
test_snippet.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
tokenstream.rs Glued tokens can themselves be joint. 2018-01-10 17:20:04 -08:00
visit.rs Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00

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.