rust/src/libsyntax
Dylan DPC fb86b820bb
Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov
Remove `rustc_error_codes` deps except in `rustc_driver`

Remove dependencies on `rustc_error_codes` in all crates except for `rustc_driver`.

This has some benefits:

1. Adding a new error code when hacking on the compiler only requires rebuilding at most `rustc_error_codes`, `rustc_driver`, and the reflexive & transitive closure of the crate where the new error code is being added and its reverse dependencies. This improves time-to-UI-tests (TTUT).

2. Adding an error description to an error code only requires rebuilding `rustc_error_codes` and `rustc_driver`. This should substantially improve TTUT.

r? @petrochenkov
cc @rust-lang/wg-diagnostics
2020-01-20 11:14:48 +05:30
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
expand Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
print Use named fields for ast::ItemKind::Impl 2020-01-17 15:59:07 -08:00
util Rollup merge of #67849 - cjkenn:check-sorted-words, r=estebank 2020-01-09 00:29:12 +09:00
ast.rs Use named fields for ast::ItemKind::Impl 2020-01-17 15:59:07 -08:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
entry.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
lib.rs slice_patterns: remove internal uses of gate 2020-01-18 19:33:47 +01:00
mut_visit.rs Use named fields for ast::ItemKind::Impl 2020-01-17 15:59:07 -08:00
ptr.rs Format the world 2019-12-22 17:42:47 -05:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
token.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
tokenstream.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
visit.rs Use named fields for ast::ItemKind::Impl 2020-01-17 15:59:07 -08: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: