2c3e5d3de0
- remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors |
||
---|---|---|
.. | ||
ast | ||
attr | ||
expand | ||
feature_gate | ||
util | ||
Cargo.toml | ||
README.md | ||
ast.rs | ||
build.rs | ||
early_buffered_lints.rs | ||
entry.rs | ||
lib.rs | ||
mut_visit.rs | ||
ptr.rs | ||
show_span.rs | ||
token.rs | ||
tokenstream.rs | ||
visit.rs |
README.md
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: