move LOCAL_CRATE to cstore

This commit is contained in:
Niko Matsakis
2015-09-01 12:35:05 -04:00
parent 8719f504ee
commit dc4a4ada58
28 changed files with 56 additions and 29 deletions

View File

@@ -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;