rust/src/libsyntax
bors 3cc3486733 Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov
Remove `ast::Guard`

With the introduction of `ast::ExprKind::Let` in https://github.com/rust-lang/rust/pull/60861, the `ast::Guard` structure is now redundant in terms of representing [`if let` guards](https://github.com/rust-lang/rust/issues/51114) in AST since it can be represented by `ExprKind::Let` syntactically. Therefore, we remove `ast::Guard` here.

However, we keep `hir::Guard` because the semantic representation is a different matter and this story is more unclear right now (might involve `goto 'arm` in HIR or something...).

r? @petrochenkov
2019-06-24 05:00:10 +00:00
..
attr Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov 2019-06-12 07:38:01 +00:00
diagnostics Rollup merge of #61813 - matthewjasper:remove-unnecessary-symbol-ops, r=petrochenkov 2019-06-15 17:45:02 +02:00
ext Auto merge of #62070 - ia0:rustfmt, r=petrochenkov 2019-06-23 22:50:56 +00:00
parse Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
print Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
util let_chains: Fix bugs in pretty printing. 2019-06-23 01:29:29 +02:00
ast.rs Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
build.rs
Cargo.toml
config.rs Lint on 'cfg_attr(,).' 2019-06-22 12:11:01 +02:00
early_buffered_lints.rs Some code cleanup and tidy/test fixes 2019-06-06 14:04:02 +03:00
entry.rs
error_codes.rs
feature_gate.rs let_chains: Move feature gating to pre-expansion. 2019-06-23 01:29:29 +02:00
json.rs
lib.rs rustc: replace GenericArgs::with_generic_args hack with a plain getter. 2019-06-19 21:16:04 +03:00
mut_visit.rs Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00:00
ptr.rs rustc: replace GenericArgs::with_generic_args hack with a plain getter. 2019-06-19 21:16:04 +03:00
README.md
show_span.rs
source_map.rs don't ICE on large files 2019-06-17 19:34:47 +03:00
std_inject.rs syntax: Introduce default/with_unstable constructors for ExpnInfo 2019-06-18 10:48:56 +03:00
test_snippet.rs
test.rs syntax: Introduce default/with_unstable constructors for ExpnInfo 2019-06-18 10:48:56 +03:00
tokenstream.rs put back the workarounds for #60846 2019-06-14 12:19:26 +02:00
visit.rs Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +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: