From 67aea3bba42067daa6b445907ae89b95e6407ff7 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 6 Jan 2017 17:43:31 +0100 Subject: [PATCH] Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) --- components/bluetooth_traits/lib.rs | 2 -- components/canvas_traits/lib.rs | 1 - components/compositing/lib.rs | 1 - components/config/lib.rs | 1 - components/constellation/lib.rs | 1 - components/devtools/lib.rs | 1 - components/devtools_traits/lib.rs | 2 -- components/gfx/lib.rs | 1 - components/gfx_traits/lib.rs | 2 +- components/jstraceable_derive/lib.rs | 2 -- components/layout/lib.rs | 1 - components/layout_thread/lib.rs | 1 - components/msg/lib.rs | 2 +- components/net/lib.rs | 1 - components/net_traits/lib.rs | 1 - components/profile/lib.rs | 1 - components/profile_traits/lib.rs | 2 +- components/range/lib.rs | 1 - components/script/lib.rs | 1 - components/script_layout_interface/lib.rs | 1 - components/script_traits/lib.rs | 2 +- components/style/lib.rs | 2 -- components/style_traits/lib.rs | 1 - components/url/lib.rs | 1 - rust-nightly-date | 2 +- 25 files changed, 5 insertions(+), 29 deletions(-) diff --git a/components/bluetooth_traits/lib.rs b/components/bluetooth_traits/lib.rs index e38c122f72d..af2314817ef 100644 --- a/components/bluetooth_traits/lib.rs +++ b/components/bluetooth_traits/lib.rs @@ -2,8 +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(proc_macro)] - extern crate ipc_channel; extern crate regex; #[macro_use] diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs index b4b64e667ec..e9e769bb51c 100644 --- a/components/canvas_traits/lib.rs +++ b/components/canvas_traits/lib.rs @@ -5,7 +5,6 @@ #![crate_name = "canvas_traits"] #![crate_type = "rlib"] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs index 781f4c4f868..25acc550c2a 100644 --- a/components/compositing/lib.rs +++ b/components/compositing/lib.rs @@ -4,7 +4,6 @@ #![feature(box_syntax)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/config/lib.rs b/components/config/lib.rs index e4df206f47a..507f4ad044c 100644 --- a/components/config/lib.rs +++ b/components/config/lib.rs @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #![cfg_attr(feature = "servo", feature(plugin))] -#![cfg_attr(feature = "servo", feature(proc_macro))] #![cfg_attr(feature = "servo", plugin(plugins))] #![deny(unsafe_code)] diff --git a/components/constellation/lib.rs b/components/constellation/lib.rs index b6c768bd641..a42e9fc7407 100644 --- a/components/constellation/lib.rs +++ b/components/constellation/lib.rs @@ -6,7 +6,6 @@ #![feature(conservative_impl_trait)] #![feature(mpsc_select)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs index b492f774e07..5f3a1397ac3 100644 --- a/components/devtools/lib.rs +++ b/components/devtools/lib.rs @@ -12,7 +12,6 @@ #![feature(box_syntax)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![allow(non_snake_case)] diff --git a/components/devtools_traits/lib.rs b/components/devtools_traits/lib.rs index 96238836017..b8969354753 100644 --- a/components/devtools_traits/lib.rs +++ b/components/devtools_traits/lib.rs @@ -12,8 +12,6 @@ #![allow(non_snake_case)] #![deny(unsafe_code)] -#![feature(proc_macro)] - #[allow(unused_extern_crates)] #[macro_use] extern crate bitflags; diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs index 3095074b126..2c50b5532c4 100644 --- a/components/gfx/lib.rs +++ b/components/gfx/lib.rs @@ -8,7 +8,6 @@ #![feature(alloc)] #![feature(box_syntax)] #![feature(plugin)] -#![feature(proc_macro)] #![feature(range_contains)] #![feature(unique)] diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index 9925326da7e..72c1b373e2b 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -2,7 +2,7 @@ * 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(plugin, proc_macro)] +#![feature(plugin)] #![plugin(plugins)] #![crate_name = "gfx_traits"] diff --git a/components/jstraceable_derive/lib.rs b/components/jstraceable_derive/lib.rs index 3d3c785d971..20e3a7cbe81 100644 --- a/components/jstraceable_derive/lib.rs +++ b/components/jstraceable_derive/lib.rs @@ -2,8 +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(proc_macro, proc_macro_lib)] - extern crate proc_macro; #[macro_use] extern crate quote; extern crate syn; diff --git a/components/layout/lib.rs b/components/layout/lib.rs index e71616dafed..ecca5b6eed1 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -7,7 +7,6 @@ #![feature(conservative_impl_trait)] #![feature(nonzero)] #![feature(plugin)] -#![feature(proc_macro)] #![feature(raw)] #![feature(step_by)] diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 4d25350835b..a9160cbf269 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -8,7 +8,6 @@ #![feature(box_syntax)] #![feature(mpsc_select)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] diff --git a/components/msg/lib.rs b/components/msg/lib.rs index d32217d0256..5e87d8b021f 100644 --- a/components/msg/lib.rs +++ b/components/msg/lib.rs @@ -2,7 +2,7 @@ * 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(plugin, proc_macro)] +#![feature(plugin)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/net/lib.rs b/components/net/lib.rs index c1925df8616..098c0ba540c 100644 --- a/components/net/lib.rs +++ b/components/net/lib.rs @@ -5,7 +5,6 @@ #![feature(box_syntax)] #![feature(mpsc_select)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index 8289e360e32..e20d856a113 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #![feature(box_syntax)] -#![feature(proc_macro)] #![feature(slice_patterns)] #![feature(step_by)] diff --git a/components/profile/lib.rs b/components/profile/lib.rs index df5e6706024..dbcb5bff514 100644 --- a/components/profile/lib.rs +++ b/components/profile/lib.rs @@ -5,7 +5,6 @@ #![cfg_attr(not(target_os = "windows"), feature(alloc_jemalloc))] #![feature(box_syntax)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/profile_traits/lib.rs b/components/profile_traits/lib.rs index ab53e33c4de..f82460d2744 100644 --- a/components/profile_traits/lib.rs +++ b/components/profile_traits/lib.rs @@ -7,7 +7,7 @@ //! modules won't have to depend on `profile`. #![feature(box_syntax)] -#![feature(plugin, proc_macro)] +#![feature(plugin)] #![plugin(plugins)] #![deny(unsafe_code)] diff --git a/components/range/lib.rs b/components/range/lib.rs index 2b76a070911..d3554477140 100644 --- a/components/range/lib.rs +++ b/components/range/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(proc_macro)] #![feature(step_trait)] #![deny(unsafe_code)] diff --git a/components/script/lib.rs b/components/script/lib.rs index a6637d06dfd..f477e562bbf 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -12,7 +12,6 @@ #![feature(on_unimplemented)] #![feature(optin_builtin_traits)] #![feature(plugin)] -#![feature(proc_macro)] #![feature(slice_patterns)] #![feature(stmt_expr_attributes)] #![feature(try_from)] diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs index d09e3e2823e..e1e2b726697 100644 --- a/components/script_layout_interface/lib.rs +++ b/components/script_layout_interface/lib.rs @@ -10,7 +10,6 @@ #![feature(box_syntax)] #![feature(nonzero)] #![feature(plugin)] -#![feature(proc_macro)] #![plugin(plugins)] extern crate app_units; diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 534a488baff..3d66dade927 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -6,7 +6,7 @@ //! The traits are here instead of in script so that these modules won't have //! to depend on script. -#![feature(plugin, proc_macro)] +#![feature(plugin)] #![plugin(plugins)] #![deny(missing_docs)] #![deny(unsafe_code)] diff --git a/components/style/lib.rs b/components/style/lib.rs index 910d2cb1cf4..4cd7e7049d2 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -23,8 +23,6 @@ //! [cssparser]: ../cssparser/index.html //! [selectors]: ../selectors/index.html -#![cfg_attr(feature = "servo", feature(proc_macro))] - #![deny(warnings)] #![deny(missing_docs)] diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs index 0a24b517138..3891f73e2de 100644 --- a/components/style_traits/lib.rs +++ b/components/style_traits/lib.rs @@ -12,7 +12,6 @@ #![deny(unsafe_code, missing_docs)] #![cfg_attr(feature = "servo", feature(plugin))] -#![cfg_attr(feature = "servo", feature(proc_macro))] extern crate app_units; #[macro_use] diff --git a/components/url/lib.rs b/components/url/lib.rs index 49db7d4d951..575baebe6e0 100644 --- a/components/url/lib.rs +++ b/components/url/lib.rs @@ -8,7 +8,6 @@ #![crate_type = "rlib"] #![cfg_attr(feature = "servo", feature(plugin))] -#![cfg_attr(feature = "servo", feature(proc_macro))] #[cfg(feature = "servo")] extern crate serde; #[cfg(feature = "servo")] #[macro_use] extern crate serde_derive; diff --git a/rust-nightly-date b/rust-nightly-date index ce804db01b4..1892edf983e 100644 --- a/rust-nightly-date +++ b/rust-nightly-date @@ -1 +1 @@ -2016-12-29 +2017-01-06