diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs index 3a1f3459eb1..4e71e9fb2a7 100644 --- a/components/compositing/lib.rs +++ b/components/compositing/lib.rs @@ -5,7 +5,8 @@ #![feature(box_syntax)] #![feature(core)] #![feature(int_uint)] -#![feature(io)] +#![feature(old_io)] +#![feature(old_path)] #![feature(rustc_private)] #![feature(std_misc)] diff --git a/components/compositing/scrolling.rs b/components/compositing/scrolling.rs index 71e58bcd94a..89890fd2b27 100644 --- a/components/compositing/scrolling.rs +++ b/components/compositing/scrolling.rs @@ -40,7 +40,7 @@ impl ScrollingTimerProxy { receiver: to_scrolling_timer_receiver, }; scrolling_timer.run(); - }); + }).unwrap(); ScrollingTimerProxy { sender: to_scrolling_timer_sender, } diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs index 78f4cd951fe..828f3b3bbab 100644 --- a/components/devtools/lib.rs +++ b/components/devtools/lib.rs @@ -10,7 +10,7 @@ #![crate_name = "devtools"] #![crate_type = "rlib"] -#![feature(int_uint, box_syntax, io, core, rustc_private)] +#![feature(int_uint, box_syntax, io, old_io, core, rustc_private)] #![feature(collections, std_misc)] #![allow(non_snake_case)] diff --git a/components/msg/lib.rs b/components/msg/lib.rs index b7aec05fe87..b4517b2fff9 100644 --- a/components/msg/lib.rs +++ b/components/msg/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![feature(hash)] #![feature(int_uint)] extern crate azure; diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index d6e81a90ac0..58fa83dbf67 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![feature(core)] #![feature(int_uint)] extern crate devtools_traits; diff --git a/components/util/range.rs b/components/util/range.rs index df32d0cffd3..86d670d2f84 100644 --- a/components/util/range.rs +++ b/components/util/range.rs @@ -126,7 +126,7 @@ macro_rules! int_range_index { impl ::std::num::NumCast for $Self_ { fn from(n: T) -> Option<$Self_> { - n.to_int().map($Self_) + n.to_isize().map($Self_) } } diff --git a/ports/glutin/lib.rs b/ports/glutin/lib.rs index 8e56150d6af..c64ff2a4e91 100644 --- a/ports/glutin/lib.rs +++ b/ports/glutin/lib.rs @@ -6,7 +6,6 @@ #![feature(int_uint)] #![feature(core)] -#![cfg_attr(feature = "window", feature(hash))] #![feature(box_syntax)] #[macro_use] extern crate bitflags;