Skip to content

Commit ee6f2a1

Browse files
committed
Test fixes and rebase conflicts
1 parent 1beaebb commit ee6f2a1

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

src/libstd/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
#![feature(unsafe_destructor)]
123123
#![feature(unsafe_no_drop_flag)]
124124
#![feature(macro_reexport)]
125+
#![feature(hash)]
125126
#![cfg_attr(test, feature(test, rustc_private, env))]
126127

127128
// Don't link to std. We are std.

src/libstd/sys/windows/thread.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use prelude::v1::*;
1313
use boxed;
1414
use cmp;
1515
use io;
16-
use mem;
1716
use ptr;
1817
use libc;
1918
use libc::types::os::arch::extra::{LPSECURITY_ATTRIBUTES, SIZE_T, BOOL,

src/libstd/sys/windows/thread_local.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use prelude::v1::*;
1313
use libc::types::os::arch::extra::{DWORD, LPVOID, BOOL};
1414

1515
use boxed;
16-
use mem;
1716
use ptr;
1817
use rt;
1918
use sys_common::mutex::{MUTEX_INIT, Mutex};

src/libstd/thread_local/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ impl<T: 'static> Key<T> {
330330
mod imp {
331331
use prelude::v1::*;
332332

333-
use alloc::boxed;
334333
use cell::UnsafeCell;
335334
use intrinsics;
336335
use ptr;
@@ -389,6 +388,7 @@ mod imp {
389388
// Due to rust-lang/rust#18804, make sure this is not generic!
390389
#[cfg(target_os = "linux")]
391390
unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern fn(*mut u8)) {
391+
use boxed;
392392
use mem;
393393
use libc;
394394
use sys_common::thread_local as os;

0 commit comments

Comments
 (0)