mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
move unescape_error_reporting to lexer/
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use crate::parse::token::{self, Token, TokenKind};
|
||||
use crate::sess::ParseSess;
|
||||
use crate::symbol::{sym, Symbol};
|
||||
use crate::parse::unescape_error_reporting::{emit_unescape_error, push_escaped_char};
|
||||
|
||||
use errors::{FatalError, DiagnosticBuilder};
|
||||
use syntax_pos::{BytePos, Pos, Span};
|
||||
@@ -19,6 +18,8 @@
|
||||
pub mod comments;
|
||||
mod tokentrees;
|
||||
mod unicode_chars;
|
||||
mod unescape_error_reporting;
|
||||
use unescape_error_reporting::{emit_unescape_error, push_escaped_char};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct UnmatchedBrace {
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
crate mod classify;
|
||||
crate mod literal;
|
||||
crate mod unescape_error_reporting;
|
||||
|
||||
pub type PResult<'a, T> = Result<T, DiagnosticBuilder<'a>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user