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

@@ -1,5 +1,5 @@
use super::{ForceCollect, Parser, PathStyle, TrailingToken};
use crate::parser::diagnostics::RemoveLet;
use crate::errors::RemoveLet;
use crate::{maybe_recover_from_interpolated_ty_qpath, maybe_whole};
use rustc_ast::mut_visit::{noop_visit_pat, MutVisitor};
use rustc_ast::ptr::P;