about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorDonato Sciarra <sciarp@gmail.com>2018-08-18 12:14:03 +0200
committerDonato Sciarra <sciarp@gmail.com>2018-08-19 23:01:00 +0200
commit82607d2cf3866c7cc31050548f2fbfa39207e319 (patch)
treef55b1efaefb9088df83f268478ba0c8adefd6943 /src/librustdoc/html
parentcbd05957103926fa10d41474fde773167fe64dfb (diff)
downloadrust-82607d2cf3866c7cc31050548f2fbfa39207e319.tar.gz
rust-82607d2cf3866c7cc31050548f2fbfa39207e319.zip
mv (mod) codemap source_map
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/highlight.rs2
-rw-r--r--src/librustdoc/html/render.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/highlight.rs b/src/librustdoc/html/highlight.rs
index a3ad50b7079..4e78275f26b 100644
--- a/src/librustdoc/html/highlight.rs
+++ b/src/librustdoc/html/highlight.rs
@@ -21,7 +21,7 @@ use std::fmt::Display;
 use std::io;
 use std::io::prelude::*;
 
-use syntax::codemap::{SourceMap, FilePathMapping};
+use syntax::source_map::{SourceMap, FilePathMapping};
 use syntax::parse::lexer::{self, TokenAndSpan};
 use syntax::parse::token;
 use syntax::parse;
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 33b3934e3a4..44a9710e30f 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -56,7 +56,7 @@ use externalfiles::ExternalHtml;
 
 use serialize::json::{ToJson, Json, as_json};
 use syntax::ast;
-use syntax::codemap::FileName;
+use syntax::source_map::FileName;
 use syntax::feature_gate::UnstableFeatures;
 use rustc::hir::def_id::{CrateNum, CRATE_DEF_INDEX, DefId};
 use rustc::middle::privacy::AccessLevels;