diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 7309901..ecbcee4 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -14,7 +14,7 @@ quote = "0.1.3" syn = "0.7.0" [dev-dependencies] -compiletest_rs = "0.2.2" +compiletest_rs = "0.2.5" [dev-dependencies.num] path = ".." diff --git a/derive/src/lib.rs b/derive/src/lib.rs index 9e1804d..47fd490 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -9,7 +9,6 @@ // except according to those terms. #![crate_type = "proc-macro"] -#![feature(proc_macro, proc_macro_lib)] extern crate syn; #[macro_use] diff --git a/derive/tests/compile-fail/derive_on_struct.rs b/derive/tests/compile-fail/derive_on_struct.rs index b75c096..0145618 100644 --- a/derive/tests/compile-fail/derive_on_struct.rs +++ b/derive/tests/compile-fail/derive_on_struct.rs @@ -1,4 +1,3 @@ - // Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. @@ -9,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] - extern crate num; #[macro_use] extern crate num_derive; diff --git a/derive/tests/compile-fail/enum_with_associated_data.rs b/derive/tests/compile-fail/enum_with_associated_data.rs index 59eb87c..ca6f34d 100644 --- a/derive/tests/compile-fail/enum_with_associated_data.rs +++ b/derive/tests/compile-fail/enum_with_associated_data.rs @@ -1,4 +1,3 @@ - // Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. @@ -9,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] - extern crate num; #[macro_use] extern crate num_derive; diff --git a/derive/tests/empty_enum.rs b/derive/tests/empty_enum.rs index 5dd964d..1ffb1d3 100644 --- a/derive/tests/empty_enum.rs +++ b/derive/tests/empty_enum.rs @@ -1,4 +1,3 @@ - // Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. @@ -9,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] - extern crate num; #[macro_use] extern crate num_derive; diff --git a/derive/tests/trivial.rs b/derive/tests/trivial.rs index c4efe47..0c100e7 100644 --- a/derive/tests/trivial.rs +++ b/derive/tests/trivial.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] - extern crate num; #[macro_use] extern crate num_derive; diff --git a/derive/tests/with_custom_values.rs b/derive/tests/with_custom_values.rs index a2038c7..a83ea5b 100644 --- a/derive/tests/with_custom_values.rs +++ b/derive/tests/with_custom_values.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(proc_macro)] - extern crate num; #[macro_use] extern crate num_derive;