mirror of
https://github.com/serde-rs/json.git
synced 2025-09-28 21:41:29 +00:00
Update to proc_macro
This commit is contained in:
parent
e5f9ca89c6
commit
c104badf1c
@ -62,7 +62,7 @@ serde_derive = "0.8"
|
||||
Then run:
|
||||
|
||||
```rust
|
||||
#![feature(rustc_macro)]
|
||||
#![feature(proc_macro)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
@ -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)]
|
||||
|
||||
|
@ -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"))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user