move unescape_error_reporting to lexer/
This commit is contained in:
parent
8fa8e02c28
commit
53a50d4e4f
3 changed files with 2 additions and 2 deletions
|
|
@ -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 @@ mod tests;
|
|||
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 @@ pub mod token;
|
|||
|
||||
crate mod classify;
|
||||
crate mod literal;
|
||||
crate mod unescape_error_reporting;
|
||||
|
||||
pub type PResult<'a, T> = Result<T, DiagnosticBuilder<'a>>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue