#![feature(box_patterns)]
#![feature(box_syntax)]
#![feature(const_fn)]
-#![feature(fs)]
#![feature(iter_cmp)]
#![feature(iter_arith)]
#![feature(libc)]
#![allow(non_camel_case_types)]
+#![feature(append)]
#![feature(box_patterns)]
#![feature(box_syntax)]
#![feature(drain)]
#![feature(alloc)]
#![feature(allow_internal_unstable)]
#![feature(associated_consts)]
+#![feature(borrow_state)]
#![feature(box_raw)]
#![feature(box_syntax)]
#![feature(char_internals)]
#![feature(slice_concat_ext)]
#![feature(slice_position_elem)]
#![feature(no_std)]
-#![feature(num_bits_bytes)]
#![feature(oom)]
#![feature(optin_builtin_traits)]
#![feature(rand)]
#![feature(vec_push_all)]
#![feature(wrapping)]
#![feature(zero_one)]
+#![cfg_attr(all(unix, not(target_os = "macos"), not(target_os = "ios")),
+ feature(num_bits_bytes))]
+#![cfg_attr(windows, feature(str_utf16))]
#![cfg_attr(test, feature(float_from_str_radix, range_inclusive, float_extras))]
#![cfg_attr(test, feature(test, rustc_private, float_consts))]
use libc::types::os::arch::extra::{DWORD, LPVOID, BOOL};
-use boxed;
use ptr;
use rt;
use sys_common::mutex::Mutex;
DTOR_LOCK.unlock();
});
if res.is_ok() {
- DTORS = boxed::into_raw(dtors);
+ DTORS = Box::into_raw(dtors);
} else {
DTORS = 1 as *mut _;
}
mod imp {
use prelude::v1::*;
- use alloc::boxed;
use cell::{Cell, UnsafeCell};
use marker;
use ptr;
key: self,
value: UnsafeCell::new(None),
};
- let ptr = boxed::into_raw(ptr);
+ let ptr = Box::into_raw(ptr);
self.os.set(ptr as *mut u8);
Some(&(*ptr).value)
}
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-// pretty-expanded FIXME #23616
-
#![feature(libc, std_misc)]
extern crate libc;
// pretty-expanded FIXME #23616
-#![allow(unused_mut)]
-#![feature(core)]
-#![feature(collections)]
-#![feature(step_by)]
+#![allow(warnings)]
#![feature(iter_empty)]
#![feature(iter_once)]
+#![feature(iter_unfold)]
+#![feature(range_inclusive)]
+#![feature(step_by)]
+#![feature(str_escape)]
use std::iter::{empty, once, range_inclusive, repeat, Unfold};
->>>>>>> Fallout in tests and docs from feature renamings
fn is_sync<T>(_: T) where T: Sync {}
fn is_send<T>(_: T) where T: Send {}
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-// pretty-expanded FIXME #23616
-
#![feature(std_misc)]
pub type HANDLE = u32;