diff options
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/highlight.rs | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/render.rs | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/render/cache.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/highlight.rs b/src/librustdoc/html/highlight.rs index bf8a8fcd3a3..fb6bdcdc9f4 100644 --- a/src/librustdoc/html/highlight.rs +++ b/src/librustdoc/html/highlight.rs @@ -13,9 +13,9 @@ use std::io::prelude::*; use rustc_parse::lexer; use rustc_span::source_map::SourceMap; +use rustc_span::symbol::{kw, sym}; use rustc_span::{FileName, Span}; use syntax::sess::ParseSess; -use syntax::symbol::{kw, sym}; use syntax::token::{self, Token}; /// Highlights `src`, returning the HTML output. diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 32d42b9c734..4758e48241f 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -52,12 +52,12 @@ use rustc_data_structures::flock; use rustc_feature::UnstableFeatures; use rustc_span::hygiene::MacroKind; use rustc_span::source_map::FileName; +use rustc_span::symbol::{sym, Symbol}; use serde::ser::SerializeSeq; use serde::{Serialize, Serializer}; use syntax::ast; use syntax::edition::Edition; use syntax::print::pprust; -use syntax::symbol::{sym, Symbol}; use crate::clean::{self, AttributesExt, Deprecation, GetDefId, SelfTy}; use crate::config::RenderOptions; diff --git a/src/librustdoc/html/render/cache.rs b/src/librustdoc/html/render/cache.rs index 04e7c3a6161..6de56ec5127 100644 --- a/src/librustdoc/html/render/cache.rs +++ b/src/librustdoc/html/render/cache.rs @@ -4,10 +4,10 @@ use rustc::hir::def_id::{CrateNum, DefId, CRATE_DEF_INDEX}; use rustc::middle::privacy::AccessLevels; use rustc_data_structures::fx::{FxHashMap, FxHashSet}; use rustc_span::source_map::FileName; +use rustc_span::symbol::sym; use std::collections::BTreeMap; use std::mem; use std::path::{Path, PathBuf}; -use syntax::symbol::sym; use serde::Serialize; |
