move LOCAL_CRATE to cstore
This commit is contained in:
parent
8719f504ee
commit
dc4a4ada58
28 changed files with 56 additions and 29 deletions
|
|
@ -36,10 +36,11 @@ use syntax::ptr::P;
|
|||
|
||||
use rustc_trans::back::link;
|
||||
use rustc::metadata::cstore;
|
||||
use rustc::metadata::cstore::LOCAL_CRATE;
|
||||
use rustc::metadata::csearch;
|
||||
use rustc::metadata::decoder;
|
||||
use rustc::middle::def;
|
||||
use rustc::middle::def_id::{DefId, LOCAL_CRATE};
|
||||
use rustc::middle::def_id::DefId;
|
||||
use rustc::middle::subst::{self, ParamSpace, VecPerParamSpace};
|
||||
use rustc::middle::ty;
|
||||
use rustc::middle::stability;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@
|
|||
use std::fmt;
|
||||
use std::iter::repeat;
|
||||
|
||||
use rustc::middle::def_id::{DefId, LOCAL_CRATE};
|
||||
use rustc::metadata::cstore::LOCAL_CRATE;
|
||||
use rustc::middle::def_id::DefId;
|
||||
use syntax::abi::Abi;
|
||||
use syntax::ast;
|
||||
use rustc_front::hir;
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ use externalfiles::ExternalHtml;
|
|||
|
||||
use serialize::json::{self, ToJson};
|
||||
use syntax::{abi, ast, attr};
|
||||
use rustc::metadata::cstore::LOCAL_CRATE;
|
||||
use rustc::middle::def_id::{DefId, LOCAL_CRATE};
|
||||
use rustc::util::nodemap::NodeSet;
|
||||
use rustc_front::hir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue