diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-03-23 08:45:50 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-03-23 08:45:50 -0600 |
commit | b1a35f549baad871a3691ae485af2efecd2d73f7 (patch) | |
tree | de33fc1afc2053baa73043f2ec1cde47362a497e | |
parent | ca79abe45871b4bfe8e8162cb39f8b6bacd0b0b6 (diff) | |
parent | 2755ed6c5807840429564607cad5d157f57b4870 (diff) | |
download | servo-b1a35f549baad871a3691ae485af2efecd2d73f7.tar.gz servo-b1a35f549baad871a3691ae485af2efecd2d73f7.zip |
auto merge of #5324 : Ms2ger/servo/missing_copy_implementations, r=jdm
This is now the default.
-rw-r--r-- | components/compositing/lib.rs | 2 | ||||
-rw-r--r-- | components/net/lib.rs | 2 | ||||
-rw-r--r-- | components/plugins/lints/unrooted_must_root.rs | 1 | ||||
-rw-r--r-- | components/style/lib.rs | 2 | ||||
-rw-r--r-- | components/style/media_queries.rs | 1 | ||||
-rw-r--r-- | components/style/properties.mako.rs | 2 | ||||
-rw-r--r-- | components/style/values.rs | 1 | ||||
-rw-r--r-- | components/util/fnv.rs | 1 |
8 files changed, 0 insertions, 12 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs index 4e71e9fb2a7..77c389d8607 100644 --- a/components/compositing/lib.rs +++ b/components/compositing/lib.rs @@ -10,8 +10,6 @@ #![feature(rustc_private)] #![feature(std_misc)] -#![allow(missing_copy_implementations)] - #[macro_use] extern crate log; diff --git a/components/net/lib.rs b/components/net/lib.rs index 7137b410af7..c7dc87a538c 100644 --- a/components/net/lib.rs +++ b/components/net/lib.rs @@ -17,8 +17,6 @@ #![feature(std_misc)] #![feature(unboxed_closures)] -#![allow(missing_copy_implementations)] - #![plugin(regex_macros)] extern crate "cookie" as cookie_rs; diff --git a/components/plugins/lints/unrooted_must_root.rs b/components/plugins/lints/unrooted_must_root.rs index a0a9706bf7a..2fd6ad93dbd 100644 --- a/components/plugins/lints/unrooted_must_root.rs +++ b/components/plugins/lints/unrooted_must_root.rs @@ -23,7 +23,6 @@ declare_lint!(UNROOTED_MUST_ROOT, Deny, /// - Not being bound locally in a `let` statement, assignment, `for` loop, or `match` statement. /// /// This helps catch most situations where pointers like `JS<T>` are used in a way that they can be invalidated by a GC pass. -#[allow(missing_copy_implementations)] pub struct UnrootedPass; // Checks if a type has the #[must_root] annotation. diff --git a/components/style/lib.rs b/components/style/lib.rs index 76a0cbb6866..4951242290b 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -10,8 +10,6 @@ #![feature(collections)] #![feature(rustc_private)] -#![allow(missing_copy_implementations)] - #![plugin(string_cache_plugin)] #![plugin(mod_path)] diff --git a/components/style/media_queries.rs b/components/style/media_queries.rs index 97f75104c40..69715b80885 100644 --- a/components/style/media_queries.rs +++ b/components/style/media_queries.rs @@ -100,7 +100,6 @@ pub enum MediaType { Unknown, } -#[allow(missing_copy_implementations)] #[derive(Debug)] pub struct Device { pub media_type: MediaType, diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs index fdf9e9e2829..d3699ff710f 100644 --- a/components/style/properties.mako.rs +++ b/components/style/properties.mako.rs @@ -3395,7 +3395,6 @@ pub mod shorthands { use parser::ParserContext; use properties::longhands; - #[allow(missing_copy_implementations)] pub struct Longhands { % for sub_property in shorthand.sub_properties: pub ${sub_property.ident}: @@ -4203,7 +4202,6 @@ pub mod style_structs { use super::longhands; % for style_struct in STYLE_STRUCTS: - #[allow(missing_copy_implementations)] #[derive(PartialEq, Clone)] pub struct ${style_struct.name} { % for longhand in style_struct.longhands: diff --git a/components/style/values.rs b/components/style/values.rs index b4db577d461..8cf1ca60d3a 100644 --- a/components/style/values.rs +++ b/components/style/values.rs @@ -878,7 +878,6 @@ pub mod computed { use url::Url; use util::geometry::Au; - #[allow(missing_copy_implementations)] // It’s kinda big pub struct Context { pub inherited_font_weight: longhands::font_weight::computed_value::T, pub inherited_font_size: longhands::font_size::computed_value::T, diff --git a/components/util/fnv.rs b/components/util/fnv.rs index 9f4f0f69b24..7d700db6ace 100644 --- a/components/util/fnv.rs +++ b/components/util/fnv.rs @@ -15,7 +15,6 @@ use std::num::wrapping::WrappingOps; /// /// This uses FNV hashing, as described here: /// http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function -#[allow(missing_copy_implementations)] pub struct FnvHasher(u64); impl Default for FnvHasher { |