diff --git a/serde/src/de/from_primitive.rs b/serde/src/de/from_primitive.rs index 9ec25904..ae293952 100644 --- a/serde/src/de/from_primitive.rs +++ b/serde/src/de/from_primitive.rs @@ -1,6 +1,4 @@ -// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. +// Copyright 2017 Serde Developers // // Licensed under the Apache License, Version 2.0 or the MIT license diff --git a/serde/src/de/ignored_any.rs b/serde/src/de/ignored_any.rs index 048c6a3a..b8ff0c75 100644 --- a/serde/src/de/ignored_any.rs +++ b/serde/src/de/ignored_any.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; use de::{Deserialize, Deserializer, Visitor, SeqVisitor, MapVisitor, Error}; diff --git a/serde/src/de/impls.rs b/serde/src/de/impls.rs index 8731ae67..12d2b96d 100644 --- a/serde/src/de/impls.rs +++ b/serde/src/de/impls.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; use de::{Deserialize, Deserializer, EnumVisitor, Error, SeqVisitor, Unexpected, VariantVisitor, diff --git a/serde/src/de/mod.rs b/serde/src/de/mod.rs index 89d4a792..a9772922 100644 --- a/serde/src/de/mod.rs +++ b/serde/src/de/mod.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Generic data structure deserialization framework. //! //! The two most important traits in this module are `Deserialize` and diff --git a/serde/src/de/utf8.rs b/serde/src/de/utf8.rs index 576fd03c..37221a1e 100644 --- a/serde/src/de/utf8.rs +++ b/serde/src/de/utf8.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; const TAG_CONT: u8 = 0b1000_0000; diff --git a/serde/src/de/value.rs b/serde/src/de/value.rs index 34802e02..7e859f30 100644 --- a/serde/src/de/value.rs +++ b/serde/src/de/value.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! This module supports deserializing from primitives with the `ValueDeserializer` trait. use lib::*; diff --git a/serde/src/export.rs b/serde/src/export.rs index cad039fd..bf017bbd 100644 --- a/serde/src/export.rs +++ b/serde/src/export.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + pub use lib::clone::Clone; pub use lib::convert::{From, Into}; pub use lib::default::Default; diff --git a/serde/src/lib.rs b/serde/src/lib.rs index e83cfde9..bad71266 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! # Serde //! //! Serde is a framework for ***ser***ializing and ***de***serializing Rust data diff --git a/serde/src/macros.rs b/serde/src/macros.rs index c2e43f1b..2ff7ec37 100644 --- a/serde/src/macros.rs +++ b/serde/src/macros.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // Super explicit first paragraph because this shows up at the top level and // trips up people who are just looking for basic Serialize / Deserialize // documentation. diff --git a/serde/src/private/de.rs b/serde/src/private/de.rs index 0f0d2c4f..844a9d7b 100644 --- a/serde/src/private/de.rs +++ b/serde/src/private/de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; use de::{Deserialize, Deserializer, Error, Visitor}; diff --git a/serde/src/private/macros.rs b/serde/src/private/macros.rs index a25de638..0253e6e0 100644 --- a/serde/src/private/macros.rs +++ b/serde/src/private/macros.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[doc(hidden)] #[macro_export] macro_rules! __private_serialize { diff --git a/serde/src/private/mod.rs b/serde/src/private/mod.rs index 7e0a82de..98307c97 100644 --- a/serde/src/private/mod.rs +++ b/serde/src/private/mod.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + mod macros; pub mod ser; diff --git a/serde/src/private/ser.rs b/serde/src/private/ser.rs index ccf77723..994875d4 100644 --- a/serde/src/private/ser.rs +++ b/serde/src/private/ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; use ser::{self, Serialize, Serializer, SerializeMap, SerializeStruct, Impossible}; diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs index d92b6266..a44da1ce 100644 --- a/serde/src/ser/impls.rs +++ b/serde/src/ser/impls.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use lib::*; use ser::{Serialize, SerializeSeq, SerializeTuple, Serializer}; diff --git a/serde/src/ser/impossible.rs b/serde/src/ser/impossible.rs index 36fa421f..592047f4 100644 --- a/serde/src/ser/impossible.rs +++ b/serde/src/ser/impossible.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! This module contains `Impossible` serializer and its implementations. use lib::*; diff --git a/serde/src/ser/mod.rs b/serde/src/ser/mod.rs index fd1c0f0d..0aa3c9a7 100644 --- a/serde/src/ser/mod.rs +++ b/serde/src/ser/mod.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + //! Generic data structure serialization framework. //! //! The two most important traits in this module are [`Serialize`] and diff --git a/serde_codegen_internals/src/ast.rs b/serde_codegen_internals/src/ast.rs index 462d061f..062281d9 100644 --- a/serde_codegen_internals/src/ast.rs +++ b/serde_codegen_internals/src/ast.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use syn; use attr; use check; diff --git a/serde_codegen_internals/src/attr.rs b/serde_codegen_internals/src/attr.rs index cb4ddd8a..5e3c0dc1 100644 --- a/serde_codegen_internals/src/attr.rs +++ b/serde_codegen_internals/src/attr.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use Ctxt; use syn; use syn::MetaItem::{List, NameValue, Word}; diff --git a/serde_codegen_internals/src/case.rs b/serde_codegen_internals/src/case.rs index d25d98df..3d3af39f 100644 --- a/serde_codegen_internals/src/case.rs +++ b/serde_codegen_internals/src/case.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use std::ascii::AsciiExt; use std::str::FromStr; diff --git a/serde_codegen_internals/src/check.rs b/serde_codegen_internals/src/check.rs index fd4d4e7d..4ac274e1 100644 --- a/serde_codegen_internals/src/check.rs +++ b/serde_codegen_internals/src/check.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use ast::{Body, Item}; use Ctxt; diff --git a/serde_codegen_internals/src/ctxt.rs b/serde_codegen_internals/src/ctxt.rs index a112c7e9..80aec476 100644 --- a/serde_codegen_internals/src/ctxt.rs +++ b/serde_codegen_internals/src/ctxt.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use std::fmt::Display; use std::cell::RefCell; diff --git a/serde_codegen_internals/src/lib.rs b/serde_codegen_internals/src/lib.rs index 6353330b..df018f0e 100644 --- a/serde_codegen_internals/src/lib.rs +++ b/serde_codegen_internals/src/lib.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + extern crate syn; #[macro_use] extern crate synom; diff --git a/serde_derive/src/bound.rs b/serde_derive/src/bound.rs index c980d3df..d539617b 100644 --- a/serde_derive/src/bound.rs +++ b/serde_derive/src/bound.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use std::collections::HashSet; use syn::{self, visit}; diff --git a/serde_derive/src/de.rs b/serde_derive/src/de.rs index 7493e000..6d07458d 100644 --- a/serde_derive/src/de.rs +++ b/serde_derive/src/de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use syn::{self, Ident}; use quote::{self, Tokens, ToTokens}; diff --git a/serde_derive/src/fragment.rs b/serde_derive/src/fragment.rs index f35578db..58cf0a2c 100644 --- a/serde_derive/src/fragment.rs +++ b/serde_derive/src/fragment.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use quote::{Tokens, ToTokens}; pub enum Fragment { diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index b543732c..a88a47a1 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![doc(html_root_url = "https://docs.rs/serde_derive/0.9.13")] #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] diff --git a/serde_derive/src/ser.rs b/serde_derive/src/ser.rs index 45293cdb..43bd4c8a 100644 --- a/serde_derive/src/ser.rs +++ b/serde_derive/src/ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use syn::{self, Ident}; use quote::Tokens; diff --git a/serde_test/src/assert.rs b/serde_test/src/assert.rs index 6715c5b1..5f6e946c 100644 --- a/serde_test/src/assert.rs +++ b/serde_test/src/assert.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use serde::{Serialize, Deserialize}; use de::Deserializer; diff --git a/serde_test/src/de.rs b/serde_test/src/de.rs index 5727b889..c30f6e27 100644 --- a/serde_test/src/de.rs +++ b/serde_test/src/de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use serde::de::{self, Deserialize, DeserializeSeed, EnumVisitor, IntoDeserializer, MapVisitor, SeqVisitor, VariantVisitor, Visitor}; use serde::de::value::{MapVisitorDeserializer, SeqVisitorDeserializer}; diff --git a/serde_test/src/error.rs b/serde_test/src/error.rs index 2cf5161f..034a019a 100644 --- a/serde_test/src/error.rs +++ b/serde_test/src/error.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use std::error; use std::fmt::{self, Display}; diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index ac86f444..346e0d70 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![doc(html_root_url = "https://docs.rs/serde_test/0.9.13")] #[macro_use] diff --git a/serde_test/src/ser.rs b/serde_test/src/ser.rs index 4e733fcf..b7b80d3b 100644 --- a/serde_test/src/ser.rs +++ b/serde_test/src/ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use serde::{ser, Serialize}; use error::Error; diff --git a/serde_test/src/token.rs b/serde_test/src/token.rs index a9d01a33..c640e48f 100644 --- a/serde_test/src/token.rs +++ b/serde_test/src/token.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[derive(Copy, Clone, PartialEq, Debug)] pub enum Token { /// A serialized `bool`. diff --git a/test_suite/tests/compile-fail/borrow/bad_lifetimes.rs b/test_suite/tests/compile-fail/borrow/bad_lifetimes.rs index b4a5e4a3..a33968f3 100644 --- a/test_suite/tests/compile-fail/borrow/bad_lifetimes.rs +++ b/test_suite/tests/compile-fail/borrow/bad_lifetimes.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/borrow/duplicate_lifetime.rs b/test_suite/tests/compile-fail/borrow/duplicate_lifetime.rs index 542ddc2a..482a8411 100644 --- a/test_suite/tests/compile-fail/borrow/duplicate_lifetime.rs +++ b/test_suite/tests/compile-fail/borrow/duplicate_lifetime.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/borrow/empty_lifetimes.rs b/test_suite/tests/compile-fail/borrow/empty_lifetimes.rs index c1d43b57..0aec052b 100644 --- a/test_suite/tests/compile-fail/borrow/empty_lifetimes.rs +++ b/test_suite/tests/compile-fail/borrow/empty_lifetimes.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/borrow/no_lifetimes.rs b/test_suite/tests/compile-fail/borrow/no_lifetimes.rs index 47b3c0d4..ca0f0409 100644 --- a/test_suite/tests/compile-fail/borrow/no_lifetimes.rs +++ b/test_suite/tests/compile-fail/borrow/no_lifetimes.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/borrow/wrong_lifetime.rs b/test_suite/tests/compile-fail/borrow/wrong_lifetime.rs index 5cf8999f..707cd118 100644 --- a/test_suite/tests/compile-fail/borrow/wrong_lifetime.rs +++ b/test_suite/tests/compile-fail/borrow/wrong_lifetime.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/default-attribute/enum.rs b/test_suite/tests/compile-fail/default-attribute/enum.rs index 74c5d7ca..7b0649bb 100644 --- a/test_suite/tests/compile-fail/default-attribute/enum.rs +++ b/test_suite/tests/compile-fail/default-attribute/enum.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/default-attribute/nameless_struct_fields.rs b/test_suite/tests/compile-fail/default-attribute/nameless_struct_fields.rs index 2e8bccc6..83aec668 100644 --- a/test_suite/tests/compile-fail/default-attribute/nameless_struct_fields.rs +++ b/test_suite/tests/compile-fail/default-attribute/nameless_struct_fields.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/rename-and-ser.rs b/test_suite/tests/compile-fail/duplicate-attribute/rename-and-ser.rs index c55a7140..cc94685c 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/rename-and-ser.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/rename-and-ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/rename-rename-de.rs b/test_suite/tests/compile-fail/duplicate-attribute/rename-rename-de.rs index 92b02a8d..9b02357a 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/rename-rename-de.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/rename-rename-de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename-ser.rs b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename-ser.rs index 3f3ead14..b8434413 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename-ser.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename-ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename.rs b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename.rs index 5f160c40..8aee5131 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-rename.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-ser.rs b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-ser.rs index 7792bf6a..25c50fa2 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-ser.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/rename-ser-ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/two-rename-ser.rs b/test_suite/tests/compile-fail/duplicate-attribute/two-rename-ser.rs index 31d903ee..96a65732 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/two-rename-ser.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/two-rename-ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/duplicate-attribute/with-and-serialize-with.rs b/test_suite/tests/compile-fail/duplicate-attribute/with-and-serialize-with.rs index 9d6058f6..9ca98995 100644 --- a/test_suite/tests/compile-fail/duplicate-attribute/with-and-serialize-with.rs +++ b/test_suite/tests/compile-fail/duplicate-attribute/with-and-serialize-with.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/enum-representation/internal-tuple-variant.rs b/test_suite/tests/compile-fail/enum-representation/internal-tuple-variant.rs index c399ab07..6b02bfd0 100644 --- a/test_suite/tests/compile-fail/enum-representation/internal-tuple-variant.rs +++ b/test_suite/tests/compile-fail/enum-representation/internal-tuple-variant.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/enum-representation/internally-tagged-struct.rs b/test_suite/tests/compile-fail/enum-representation/internally-tagged-struct.rs index bd4fe2ea..31615ff6 100644 --- a/test_suite/tests/compile-fail/enum-representation/internally-tagged-struct.rs +++ b/test_suite/tests/compile-fail/enum-representation/internally-tagged-struct.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/enum-representation/untagged-and-internal.rs b/test_suite/tests/compile-fail/enum-representation/untagged-and-internal.rs index 71104ff6..4edbf004 100644 --- a/test_suite/tests/compile-fail/enum-representation/untagged-and-internal.rs +++ b/test_suite/tests/compile-fail/enum-representation/untagged-and-internal.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/enum-representation/untagged-struct.rs b/test_suite/tests/compile-fail/enum-representation/untagged-struct.rs index 0bf6dd13..3546748e 100644 --- a/test_suite/tests/compile-fail/enum-representation/untagged-struct.rs +++ b/test_suite/tests/compile-fail/enum-representation/untagged-struct.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/bad_getter.rs b/test_suite/tests/compile-fail/remote/bad_getter.rs index 3495a10b..7b01c9cf 100644 --- a/test_suite/tests/compile-fail/remote/bad_getter.rs +++ b/test_suite/tests/compile-fail/remote/bad_getter.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/bad_remote.rs b/test_suite/tests/compile-fail/remote/bad_remote.rs index 5ef17670..a81627db 100644 --- a/test_suite/tests/compile-fail/remote/bad_remote.rs +++ b/test_suite/tests/compile-fail/remote/bad_remote.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/enum_getter.rs b/test_suite/tests/compile-fail/remote/enum_getter.rs index e012cbe1..016cfc03 100644 --- a/test_suite/tests/compile-fail/remote/enum_getter.rs +++ b/test_suite/tests/compile-fail/remote/enum_getter.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/missing_field.rs b/test_suite/tests/compile-fail/remote/missing_field.rs index 3be802a6..d4ceca3c 100644 --- a/test_suite/tests/compile-fail/remote/missing_field.rs +++ b/test_suite/tests/compile-fail/remote/missing_field.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/nonremote_getter.rs b/test_suite/tests/compile-fail/remote/nonremote_getter.rs index 11271e5a..ce7539be 100644 --- a/test_suite/tests/compile-fail/remote/nonremote_getter.rs +++ b/test_suite/tests/compile-fail/remote/nonremote_getter.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/unknown_field.rs b/test_suite/tests/compile-fail/remote/unknown_field.rs index 8f2fa481..d1f2206c 100644 --- a/test_suite/tests/compile-fail/remote/unknown_field.rs +++ b/test_suite/tests/compile-fail/remote/unknown_field.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/wrong_de.rs b/test_suite/tests/compile-fail/remote/wrong_de.rs index 58a05e19..10e97986 100644 --- a/test_suite/tests/compile-fail/remote/wrong_de.rs +++ b/test_suite/tests/compile-fail/remote/wrong_de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/wrong_getter.rs b/test_suite/tests/compile-fail/remote/wrong_getter.rs index f767263d..e939928a 100644 --- a/test_suite/tests/compile-fail/remote/wrong_getter.rs +++ b/test_suite/tests/compile-fail/remote/wrong_getter.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/remote/wrong_ser.rs b/test_suite/tests/compile-fail/remote/wrong_ser.rs index bd4ca1a2..ac3c7c24 100644 --- a/test_suite/tests/compile-fail/remote/wrong_ser.rs +++ b/test_suite/tests/compile-fail/remote/wrong_ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/type-attribute/from.rs b/test_suite/tests/compile-fail/type-attribute/from.rs index 408f33b5..72e0f1de 100644 --- a/test_suite/tests/compile-fail/type-attribute/from.rs +++ b/test_suite/tests/compile-fail/type-attribute/from.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/type-attribute/into.rs b/test_suite/tests/compile-fail/type-attribute/into.rs index 62a0982a..8f6de4d4 100644 --- a/test_suite/tests/compile-fail/type-attribute/into.rs +++ b/test_suite/tests/compile-fail/type-attribute/into.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/unknown-attribute/container.rs b/test_suite/tests/compile-fail/unknown-attribute/container.rs index 9bf97a19..c60c99c1 100644 --- a/test_suite/tests/compile-fail/unknown-attribute/container.rs +++ b/test_suite/tests/compile-fail/unknown-attribute/container.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/unknown-attribute/field.rs b/test_suite/tests/compile-fail/unknown-attribute/field.rs index 82915b21..66c3a0a8 100644 --- a/test_suite/tests/compile-fail/unknown-attribute/field.rs +++ b/test_suite/tests/compile-fail/unknown-attribute/field.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compile-fail/unknown-attribute/variant.rs b/test_suite/tests/compile-fail/unknown-attribute/variant.rs index de3ec976..0cfac627 100644 --- a/test_suite/tests/compile-fail/unknown-attribute/variant.rs +++ b/test_suite/tests/compile-fail/unknown-attribute/variant.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/compiletest.rs b/test_suite/tests/compiletest.rs index a4773093..f5fb664e 100644 --- a/test_suite/tests/compiletest.rs +++ b/test_suite/tests/compiletest.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![cfg(feature = "unstable")] extern crate compiletest_rs as compiletest; diff --git a/test_suite/tests/macros.rs b/test_suite/tests/macros.rs index fdf61515..4f6ea66e 100644 --- a/test_suite/tests/macros.rs +++ b/test_suite/tests/macros.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + macro_rules! btreeset { () => { BTreeSet::new() diff --git a/test_suite/tests/run-pass/identity-op.rs b/test_suite/tests/run-pass/identity-op.rs index e1638025..2ec0cc19 100644 --- a/test_suite/tests/run-pass/identity-op.rs +++ b/test_suite/tests/run-pass/identity-op.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![deny(identity_op)] #[macro_use] diff --git a/test_suite/tests/test_annotations.rs b/test_suite/tests/test_annotations.rs index 45e9b441..74376209 100644 --- a/test_suite/tests/test_annotations.rs +++ b/test_suite/tests/test_annotations.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/test_borrow.rs b/test_suite/tests/test_borrow.rs index 47c58844..9d0a65fc 100644 --- a/test_suite/tests/test_borrow.rs +++ b/test_suite/tests/test_borrow.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/test_de.rs b/test_suite/tests/test_de.rs index dc2662fb..4a0ebb10 100644 --- a/test_suite/tests/test_de.rs +++ b/test_suite/tests/test_de.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![cfg_attr(feature = "unstable", feature(into_boxed_c_str))] #[macro_use] diff --git a/test_suite/tests/test_gen.rs b/test_suite/tests/test_gen.rs index b4cddfa5..2f3d6299 100644 --- a/test_suite/tests/test_gen.rs +++ b/test_suite/tests/test_gen.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developer +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // These just test that serde_codegen is able to produce code that compiles // successfully when there are a variety of generics and non-(de)serializable // types involved. diff --git a/test_suite/tests/test_macros.rs b/test_suite/tests/test_macros.rs index e16a54d5..2f35fcf4 100644 --- a/test_suite/tests/test_macros.rs +++ b/test_suite/tests/test_macros.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/test_remote.rs b/test_suite/tests/test_remote.rs index 3e3217c8..30ccbb27 100644 --- a/test_suite/tests/test_remote.rs +++ b/test_suite/tests/test_remote.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/test_ser.rs b/test_suite/tests/test_ser.rs index 46a7c3fa..28472ce3 100644 --- a/test_suite/tests/test_ser.rs +++ b/test_suite/tests/test_ser.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive; diff --git a/test_suite/tests/test_value.rs b/test_suite/tests/test_value.rs index 08b1c3c3..42df751c 100644 --- a/test_suite/tests/test_value.rs +++ b/test_suite/tests/test_value.rs @@ -1,3 +1,11 @@ +// Copyright 2017 Serde Developers +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #[macro_use] extern crate serde_derive;