Move rustc_parse diagnostic structs to separate module

This commit is contained in:
Xiretza 2022-08-30 13:19:17 +02:00
parent 6ae7a30927
commit e56d6a68db
8 changed files with 819 additions and 811 deletions

View file

@ -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