Delete serde_macros

This commit is contained in:
David Tolnay committed 2016-09-28 11:59:25 -07:00
1 parent 8b7b886036
commit 1b6fd5a362
23 files changed
+129 -148

No files matched your search

@@ -0,0 +1,12 @@
#![feature(rustc_macro)]
#[macro_use]
extern crate serde_derive;
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
#[serde(abc="xyz")] // ERROR: unknown serde container attribute `abc`
struct A {
x: u32,
}
fn main() { }
@@ -0,0 +1,12 @@
#![feature(rustc_macro)]
#[macro_use]
extern crate serde_derive;
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
struct C {
#[serde(abc="xyz")] // ERROR: unknown serde field attribute `abc`
x: u32,
}
fn main() { }
@@ -0,0 +1,12 @@
#![feature(rustc_macro)]
#[macro_use]
extern crate serde_derive;
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
enum E {
#[serde(abc="xyz")] // ERROR: unknown serde variant attribute `abc`
V,
}
fn main() { }