rust/src/libsyntax
bors a7170b0412 Auto merge of #48524 - abonander:check-macro-stability, r=petrochenkov
check stability of macro invocations

I haven't implemented tests yet but this should be a pretty solid prototype. I think as-implemented it will also stability-check macro invocations in the same crate, dunno if we want that or not.

I don't know if we want this to go through `rustc::middle::stability` or not, considering the information there wouldn't be available at the time of macro expansion (even for external crates, right?).

r? @nrc
closes #34079
cc @petrochenkov @durka @jseyfried #38356
2018-03-16 02:46:23 +00:00
..
diagnostics Move REGISTERED_DIAGNOSTICS to a ParseSess field 2018-03-08 05:30:43 +01:00
ext Auto merge of #48524 - abonander:check-macro-stability, r=petrochenkov 2018-03-16 02:46:23 +00:00
parse Auto merge of #49051 - kennytm:rollup, r=kennytm 2018-03-16 00:09:14 +00:00
print Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
util Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +01:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Auto merge of #48326 - RalfJung:generic-bounds, r=petrochenkov 2018-03-09 10:45:29 +00:00
attr.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
codemap.rs Some tweaks to "type parameters from outer function" diagnostic 2018-03-14 12:35:25 -07:00
config.rs Make it possible to ungate features by epoch 2018-03-08 17:10:05 -08:00
diagnostic_list.rs Stabilize inclusive_range_syntax language feature. 2018-03-15 16:58:02 +08:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
epoch.rs Note the future epoch for epoch lints 2018-03-08 17:10:06 -08:00
feature_gate.rs Auto merge of #49051 - kennytm:rollup, r=kennytm 2018-03-16 00:09:14 +00:00
fold.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
json.rs Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +01:00
lib.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +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 Replace dummy spans with empty spans 2018-02-18 00:10:40 +09:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +01:00
test_snippet.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
tokenstream.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
visit.rs Support parentheses in patterns under feature gate 2018-03-01 01:47:56 +03: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.