diff --git a/src/abi.rs b/src/abi.rs index 5e041e6c6d3..92872a14359 100644 --- a/src/abi.rs +++ b/src/abi.rs @@ -379,6 +379,7 @@ fn local_place<'a, 'tcx: 'a>( abi: _, variants: _, fields: _, + largest_niche: _, } = details; match place { CPlace::Stack(stack_slot, _) => fx.add_entity_comment( diff --git a/src/allocator.rs b/src/allocator.rs index cfc071612e7..b3b2b53444d 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -10,8 +10,7 @@ use crate::prelude::*; -use rustc::middle::allocator::AllocatorKind; -use rustc_allocator::{AllocatorTy, ALLOCATOR_METHODS}; +use syntax::ext::allocator::{AllocatorKind, AllocatorTy, ALLOCATOR_METHODS}; /// Returns whether an allocator shim was created pub fn codegen(sess: &Session, module: &mut Module) -> bool { diff --git a/src/lib.rs b/src/lib.rs index 8a4e79d544b..299b47403bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,6 @@ extern crate flate2; extern crate rustc; -extern crate rustc_allocator; extern crate rustc_codegen_ssa; extern crate rustc_codegen_utils; extern crate rustc_data_structures;