rust/src/libsyntax
bors c4501a0f1d Auto merge of #52319 - tinco:issue_12590, r=pnkfelix
Track whether module declarations are inline (fixes #12590)

To track whether module declarations are inline I added a field `inline: bool` to `ast::Mod`. The main use case is for pretty to know whether it should render the items associated with the module, but perhaps there are use cases for this information to not be forgotten in the AST.
2018-09-27 09:51:12 +00:00
..
attr Auto merge of #53902 - dtolnay:group, r=petrochenkov 2018-09-09 13:27:44 +00:00
diagnostics Remove OneVector 2018-09-26 10:43:37 +02:00
ext Auto merge of #52319 - tinco:issue_12590, r=pnkfelix 2018-09-27 09:51:12 +00:00
parse Auto merge of #52319 - tinco:issue_12590, r=pnkfelix 2018-09-27 09:51:12 +00:00
print Correctly close indentation blocks when pretty printing non-inline module 2018-09-10 12:33:38 +02:00
util Remove OneVector 2018-09-26 10:43:37 +02:00
ast.rs Auto merge of #52319 - tinco:issue_12590, r=pnkfelix 2018-09-27 09:51:12 +00:00
build.rs
Cargo.toml Use optimized SmallVec implementation 2018-08-23 10:45:53 +03:00
config.rs Auto merge of #54581 - petrochenkov:cfgattr, r=alexcrichton 2018-09-27 07:16:27 +00:00
diagnostic_list.rs Stabilize 'attr_literals' feature. 2018-08-23 19:06:07 -07:00
early_buffered_lints.rs
entry.rs
feature_gate.rs Auto merge of #54497 - ralexstokes:stabilize_pattern_parentheses, r=nikomatsakis 2018-09-26 07:38:19 +00:00
fold.rs Auto merge of #52319 - tinco:issue_12590, r=pnkfelix 2018-09-27 09:51:12 +00:00
json.rs mv (mod) codemap source_map 2018-08-19 23:01:00 +02:00
lib.rs Remove OneVector 2018-09-26 10:43:37 +02:00
ptr.rs Temporarily prohibit proc macro attributes placed after derives 2018-09-16 19:51:41 +03:00
README.md
show_span.rs
source_map.rs Auto merge of #53949 - estebank:unclosed-delim, r=nikomatsakis 2018-09-09 01:36:58 +00:00
std_inject.rs mv codemap source_map 2018-08-19 23:01:01 +02:00
str.rs
test_snippet.rs mv (mod) codemap source_map 2018-08-19 23:01:00 +02:00
test.rs Auto merge of #52319 - tinco:issue_12590, r=pnkfelix 2018-09-27 09:51:12 +00:00
tokenstream.rs Track distinct spans for open and close delimiter 2018-09-08 19:01:48 -07:00
visit.rs Auto merge of #53815 - F001:if-let-guard, r=petrochenkov 2018-09-01 20:31:29 +00: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: