From c104badf1c26bf7ea2e842cd148fbc7462027cde Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 8 Oct 2016 22:12:51 -0700 Subject: [PATCH] Update to proc_macro --- README.md | 2 +- json_tests/benches/bench.rs | 2 +- json_tests/tests/test.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 786309e..01d822e 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ serde_derive = "0.8" Then run: ```rust -#![feature(rustc_macro)] +#![feature(proc_macro)] #[macro_use] extern crate serde_derive; diff --git a/json_tests/benches/bench.rs b/json_tests/benches/bench.rs index 28f7896..b2f109b 100644 --- a/json_tests/benches/bench.rs +++ b/json_tests/benches/bench.rs @@ -1,7 +1,7 @@ #![cfg_attr(feature = "nightly-testing", feature(plugin))] #![cfg_attr(feature = "nightly-testing", plugin(clippy))] -#![cfg_attr(not(feature = "with-syntex"), feature(rustc_macro))] +#![cfg_attr(not(feature = "with-syntex"), feature(proc_macro))] #![feature(test)] diff --git a/json_tests/tests/test.rs b/json_tests/tests/test.rs index 829e282..cabf25d 100644 --- a/json_tests/tests/test.rs +++ b/json_tests/tests/test.rs @@ -1,7 +1,7 @@ #![cfg_attr(feature = "nightly-testing", feature(plugin))] #![cfg_attr(feature = "nightly-testing", plugin(clippy))] -#![cfg_attr(not(feature = "with-syntex"), feature(rustc_macro, plugin))] +#![cfg_attr(not(feature = "with-syntex"), feature(proc_macro, plugin))] #![cfg_attr(not(feature = "with-syntex"), plugin(indoc))] #[cfg(not(feature = "with-syntex"))]