]> git.lizzy.rs Git - rust.git/commitdiff
Rustup to rustc 1.38.0-nightly (c43753f91 2019-07-26)
authorbjorn3 <bjorn3@users.noreply.github.com>
Sat, 27 Jul 2019 09:35:46 +0000 (11:35 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Sat, 27 Jul 2019 09:35:46 +0000 (11:35 +0200)
src/abi.rs
src/allocator.rs
src/lib.rs

index 5e041e6c6d37d7f82d3c5d5dd5d1ef6596533eec..92872a14359ae31b01fdf06d0dac89873bbb57ed 100644 (file)
@@ -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(
index cfc071612e71f7555be6aafd2d12f846c01b908e..b3b2b53444d17af67a9477447de760fb9c3688d1 100644 (file)
@@ -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<impl Backend + 'static>) -> bool {
index 8a4e79d544ba42821aaf6562956525699f8f7459..299b47403bc7699b16d5b0c81c71286d91d56c09 100644 (file)
@@ -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;