mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
c82e9e8e1e
Try to identify the following code in order to provide better diagnostics, but return the error to bail out early during the parse.
NB: This crate is part of the Rust compiler. For an overview of the
compiler as a whole, see
the README.md file found in librustc.
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.