move unescape module to rustc_lexer
This commit is contained in:
parent
83dfe7b27c
commit
e63fe150bf
6 changed files with 17 additions and 18 deletions
|
|
@ -1,12 +1,12 @@
|
|||
use crate::parse::ParseSess;
|
||||
use crate::parse::token::{self, Token, TokenKind};
|
||||
use crate::symbol::{sym, Symbol};
|
||||
use crate::parse::unescape;
|
||||
use crate::parse::unescape_error_reporting::{emit_unescape_error, push_escaped_char};
|
||||
|
||||
use errors::{FatalError, Diagnostic, DiagnosticBuilder};
|
||||
use syntax_pos::{BytePos, Pos, Span, NO_EXPANSION};
|
||||
use rustc_lexer::Base;
|
||||
use rustc_lexer::unescape;
|
||||
|
||||
use std::borrow::Cow;
|
||||
use std::char;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue