use rustc::session::Session;
use rustc_metadata::locator;
+use rustc_span::symbol::sym;
+use rustc_span::Span;
use std::borrow::ToOwned;
use std::env;
use std::mem;
use std::path::PathBuf;
use syntax::ast::{Crate, Ident};
use syntax::struct_span_err;
-use syntax::symbol::sym;
-use syntax_pos::Span;
use rustc_error_codes::*;