]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/token.rs
perf: eagerly convert literals to consts, this avoids creating loads on unevaluated...
[rust.git] / src / libsyntax / token.rs
index 2242fdc9ed70f47fcbfffc4aba470b0600ba1773..14279561cbb8de0fcb41ee095cf7374bb7c50fbd 100644 (file)
@@ -6,15 +6,14 @@
 
 use crate::ast;
 use crate::ptr::P;
-use crate::symbol::kw;
 use crate::tokenstream::TokenTree;
 
-use syntax_pos::symbol::Symbol;
-use syntax_pos::{self, Span, DUMMY_SP};
-
 use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
 use rustc_data_structures::sync::Lrc;
 use rustc_macros::HashStable_Generic;
+use rustc_span::symbol::kw;
+use rustc_span::symbol::Symbol;
+use rustc_span::{self, Span, DUMMY_SP};
 use std::fmt;
 use std::mem;