rust/src/libsyntax
Mazdak Farrokhzad 9e613c74be
Rollup merge of #63399 - estebank:vec-in-pat, r=Centril
More explicit diagnostic when using a `vec![]` in a pattern

```
error: unexpected `(` after qualified path
  --> $DIR/vec-macro-in-pattern.rs:3:14
   |
LL |         Some(vec![x]) => (),
   |              ^^^^^^^
   |              |
   |              unexpected `(` after qualified path
   |              in this macro invocation
   |              use a slice pattern here instead
   |
   = help: for more information, see https://doc.rust-lang.org/edition-guide/rust-2018/slice-patterns.html
   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
```

Fix #61933.
2019-08-10 08:13:22 +02:00
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr Make mk_attr_id private to libsyntax 2019-08-05 08:48:22 -04:00
diagnostics Replace AstBuilder with inherent methods 2019-07-31 08:55:37 -04:00
ext review comments: use structured suggestion 2019-08-09 09:40:26 -07:00
mut_visit libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
parse Recover parser from foo(_, _) 2019-08-09 07:18:05 -07:00
print Rollup merge of #63272 - Mark-Simulacrum:clean-attr, r=petrochenkov 2019-08-06 08:17:42 +02:00
source_map libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
tokenstream libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
util libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
ast.rs Remove leftover AwaitOrigin 2019-08-05 09:14:51 -04:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
config.rs Lint on 'cfg_attr(,).' 2019-06-22 12:11:01 +02:00
early_buffered_lints.rs Implement checks for meta-variables in macros 2019-07-19 19:59:12 +02:00
entry.rs Remove the equality operation between Symbol and strings. 2019-05-13 09:31:30 +10:00
error_codes.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
feature_gate.rs Auto merge of #63248 - petrochenkov:nomarker, r=matthewjasper 2019-08-05 04:36:51 +00:00
json.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
lib.rs libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
mut_visit.rs Auto merge of #63213 - varkor:itemkind-tyalias, r=Centril 2019-08-04 20:03:28 +00:00
ptr.rs cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Rename rustc_errors dependency in rust 2018 crates 2019-02-13 00:28:52 +09:00
source_map.rs reduce visibility 2019-08-08 16:58:06 +02:00
tests.rs libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
tokenstream.rs libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
visit.rs Rename ItemImplKind::Type to ItemImplKind::TyAlias 2019-08-04 20:16:41 +01: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: