diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-07 13:29:38 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-07 13:29:38 +0100 |
| commit | 648f491977546945afa31587390041d3fdb17c61 (patch) | |
| tree | 1de98e2ca6770e96cc326f5274af644c1cb29cf7 /src/allocator.rs | |
| parent | d20f54bb1a873a16681c687a58b7946dc6924913 (diff) | |
| download | rust-648f491977546945afa31587390041d3fdb17c61.tar.gz rust-648f491977546945afa31587390041d3fdb17c61.zip | |
Enable feature gate extern_crate_item_prelude
Diffstat (limited to 'src/allocator.rs')
| -rw-r--r-- | src/allocator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/allocator.rs b/src/allocator.rs index 72ddf5312bd..72f1046a56b 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -10,8 +10,8 @@ use crate::prelude::*; -use crate::rustc::middle::allocator::AllocatorKind; -use crate::rustc_allocator::{ALLOCATOR_METHODS, AllocatorTy}; +use rustc::middle::allocator::AllocatorKind; +use rustc_allocator::{ALLOCATOR_METHODS, AllocatorTy}; pub fn codegen(tcx: TyCtxt, module: &mut Module<impl Backend + 'static>, kind: AllocatorKind) { let usize_ty = module.target_config().pointer_type(); |
