Make the style crate almost build on stable Rust.

`discriminant_value` will need to be replaced with something else later.
This commit is contained in:
Simon Sapin 2016-06-21 17:35:26 +02:00
parent ea73c8efac
commit 00b6210519
41 changed files with 370 additions and 375 deletions

View file

@ -13,7 +13,7 @@
extern crate app_units;
#[cfg(feature = "servo")] extern crate backtrace;
#[cfg(feature = "servo")] #[allow(unused_extern_crates)] #[macro_use] extern crate bitflags;
#[allow(unused_extern_crates)] #[macro_use] extern crate bitflags;
extern crate deque;
extern crate euclid;
extern crate getopts;
@ -46,12 +46,12 @@ pub mod prefs;
#[cfg(feature = "servo")] pub mod print_tree;
pub mod resource_files;
pub mod str;
#[cfg(feature = "servo")] pub mod thread;
#[cfg(feature = "servo")] pub mod thread_state;
pub mod thread;
pub mod thread_state;
pub mod tid;
#[cfg(feature = "servo")] pub mod time;
pub mod vec;
#[cfg(feature = "servo")] #[allow(unsafe_code)] pub mod workqueue;
#[allow(unsafe_code)] pub mod workqueue;
#[cfg(feature = "servo")]
#[allow(unsafe_code)]