summaryrefslogtreecommitdiffstats
path: root/src/librustc_parse/lexer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_parse/lexer/mod.rs')
-rw-r--r--src/librustc_parse/lexer/mod.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/librustc_parse/lexer/mod.rs b/src/librustc_parse/lexer/mod.rs
index 5de63cb..ddcfea1 100644
--- a/src/librustc_parse/lexer/mod.rs
+++ b/src/librustc_parse/lexer/mod.rs
@@ -1,16 +1,15 @@
1use rustc_data_structures::sync::Lrc;
2use rustc_errors::{FatalError, DiagnosticBuilder};
3use rustc_lexer::Base;
4use rustc_lexer::unescape;
1use syntax::token::{self, Token, TokenKind}; 5use syntax::token::{self, Token, TokenKind};
2use syntax::sess::ParseSess; 6use syntax::sess::ParseSess;
3use syntax::symbol::{sym, Symbol};
4use syntax::util::comments; 7use syntax::util::comments;
5 8use syntax_pos::symbol::{sym, Symbol};
6use errors::{FatalError, DiagnosticBuilder};
7use syntax_pos::{BytePos, Pos, Span}; 9use syntax_pos::{BytePos, Pos, Span};
8use rustc_lexer::Base;
9use rustc_lexer::unescape;
10 10
11use std::char; 11use std::char;
12use std::convert::TryInto; 12use std::convert::TryInto;
13use rustc_data_structures::sync::Lrc;
14use log::debug; 13use log::debug;
15 14
16mod tokentrees; 15mod tokentrees;