mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 08:18:03 +00:00
ef5d09e144
Fixes #575
13 lines
242 B
Rust
13 lines
242 B
Rust
#![feature(proc_macro)]
|
|
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
|
|
#[serde(abc="xyz")] //~^ HELP: unknown serde container attribute `abc`
|
|
struct A {
|
|
x: u32,
|
|
}
|
|
|
|
fn main() { }
|