Move rustc_parse diagnostic structs to separate module
This commit is contained in:
parent
6ae7a30927
commit
e56d6a68db
8 changed files with 819 additions and 811 deletions
|
@ -32,6 +32,8 @@ use parser::{emit_unclosed_delims, make_unclosed_delims_error, Parser};
|
|||
pub mod lexer;
|
||||
pub mod validate_attr;
|
||||
|
||||
mod errors;
|
||||
|
||||
// A bunch of utility functions of the form `parse_<thing>_from_<source>`
|
||||
// where <thing> includes crate, expr, item, stmt, tts, and one that
|
||||
// uses a HOF to parse anything, and <source> includes file and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue