mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Fix more warnings everywhere.
This commit is contained in:
parent
5ffd71cd5e
commit
6a58cbd118
7 changed files with 5 additions and 7 deletions
|
@ -5,7 +5,8 @@
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
#![feature(core)]
|
#![feature(core)]
|
||||||
#![feature(int_uint)]
|
#![feature(int_uint)]
|
||||||
#![feature(io)]
|
#![feature(old_io)]
|
||||||
|
#![feature(old_path)]
|
||||||
#![feature(rustc_private)]
|
#![feature(rustc_private)]
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ impl ScrollingTimerProxy {
|
||||||
receiver: to_scrolling_timer_receiver,
|
receiver: to_scrolling_timer_receiver,
|
||||||
};
|
};
|
||||||
scrolling_timer.run();
|
scrolling_timer.run();
|
||||||
});
|
}).unwrap();
|
||||||
ScrollingTimerProxy {
|
ScrollingTimerProxy {
|
||||||
sender: to_scrolling_timer_sender,
|
sender: to_scrolling_timer_sender,
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#![crate_name = "devtools"]
|
#![crate_name = "devtools"]
|
||||||
#![crate_type = "rlib"]
|
#![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)]
|
#![feature(collections, std_misc)]
|
||||||
|
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#![feature(hash)]
|
|
||||||
#![feature(int_uint)]
|
#![feature(int_uint)]
|
||||||
|
|
||||||
extern crate azure;
|
extern crate azure;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#![feature(core)]
|
|
||||||
#![feature(int_uint)]
|
#![feature(int_uint)]
|
||||||
|
|
||||||
extern crate devtools_traits;
|
extern crate devtools_traits;
|
||||||
|
|
|
@ -126,7 +126,7 @@ macro_rules! int_range_index {
|
||||||
|
|
||||||
impl ::std::num::NumCast for $Self_ {
|
impl ::std::num::NumCast for $Self_ {
|
||||||
fn from<T: ToPrimitive>(n: T) -> Option<$Self_> {
|
fn from<T: ToPrimitive>(n: T) -> Option<$Self_> {
|
||||||
n.to_int().map($Self_)
|
n.to_isize().map($Self_)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#![feature(int_uint)]
|
#![feature(int_uint)]
|
||||||
#![feature(core)]
|
#![feature(core)]
|
||||||
#![cfg_attr(feature = "window", feature(hash))]
|
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
||||||
#[macro_use] extern crate bitflags;
|
#[macro_use] extern crate bitflags;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue