X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_metadata%2Fcreader.rs;h=351e72d4678f2bed27deb2fd0a9f138012e72a5a;hb=787c458eeb20e447989124e2900e02e8e03b1c51;hp=7ccc367be256054531d28bf4a4070a95f9557ca4;hpb=0c6b1a7e3c54ff3a5ef6744073281b00368749c8;p=rust.git diff --git a/src/librustc_metadata/creader.rs b/src/librustc_metadata/creader.rs index 7ccc367be25..351e72d4678 100644 --- a/src/librustc_metadata/creader.rs +++ b/src/librustc_metadata/creader.rs @@ -12,26 +12,22 @@ use rustc::ty::TyCtxt; use rustc_data_structures::svh::Svh; use rustc_data_structures::sync::Lrc; -use rustc_hir::def_id::CrateNum; -use rustc_hir::def_id::LOCAL_CRATE; -use rustc_index::vec::IndexVec; -use rustc_target::spec::{PanicStrategy, TargetTriple}; - -use std::path::Path; -use std::{cmp, fs}; - -use errors::struct_span_err; -use log::{debug, info, log_enabled}; -use proc_macro::bridge::client::ProcMacro; +use rustc_errors::struct_span_err; use rustc_expand::base::SyntaxExtension; +use rustc_hir::def_id::{CrateNum, LOCAL_CRATE}; +use rustc_index::vec::IndexVec; use rustc_span::edition::Edition; use rustc_span::symbol::{sym, Symbol}; use rustc_span::{Span, DUMMY_SP}; +use rustc_target::spec::{PanicStrategy, TargetTriple}; use syntax::ast; use syntax::attr; use syntax::expand::allocator::{global_allocator_spans, AllocatorKind}; -use rustc_error_codes::*; +use log::{debug, info, log_enabled}; +use proc_macro::bridge::client::ProcMacro; +use std::path::Path; +use std::{cmp, fs}; #[derive(Clone)] pub struct CStore {