mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Remove allow(missing_copy_implementations) attributes.
This is now the default.
This commit is contained in:
parent
1f682d878d
commit
2755ed6c58
8 changed files with 0 additions and 12 deletions
|
@ -10,8 +10,6 @@
|
|||
#![feature(collections)]
|
||||
#![feature(rustc_private)]
|
||||
|
||||
#![allow(missing_copy_implementations)]
|
||||
|
||||
#![plugin(string_cache_plugin)]
|
||||
#![plugin(mod_path)]
|
||||
|
||||
|
|
|
@ -100,7 +100,6 @@ pub enum MediaType {
|
|||
Unknown,
|
||||
}
|
||||
|
||||
#[allow(missing_copy_implementations)]
|
||||
#[derive(Debug)]
|
||||
pub struct Device {
|
||||
pub media_type: MediaType,
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue