Remove allow(missing_copy_implementations) attributes.

This is now the default.
This commit is contained in:
Ms2ger 2015-03-23 10:49:44 +01:00
parent 1f682d878d
commit 2755ed6c58
8 changed files with 0 additions and 12 deletions

View file

@ -10,8 +10,6 @@
#![feature(rustc_private)]
#![feature(std_misc)]
#![allow(missing_copy_implementations)]
#[macro_use]
extern crate log;

View file

@ -17,8 +17,6 @@
#![feature(std_misc)]
#![feature(unboxed_closures)]
#![allow(missing_copy_implementations)]
#![plugin(regex_macros)]
extern crate "cookie" as cookie_rs;

View file

@ -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.

View file

@ -10,8 +10,6 @@
#![feature(collections)]
#![feature(rustc_private)]
#![allow(missing_copy_implementations)]
#![plugin(string_cache_plugin)]
#![plugin(mod_path)]

View file

@ -100,7 +100,6 @@ pub enum MediaType {
Unknown,
}
#[allow(missing_copy_implementations)]
#[derive(Debug)]
pub struct Device {
pub media_type: MediaType,

View file

@ -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:

View file

@ -878,7 +878,6 @@ pub mod computed {
use url::Url;
use util::geometry::Au;
#[allow(missing_copy_implementations)] // Its 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,

View file

@ -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 {