mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
ef5d09e144
Fixes #575
13 lines
238 B
Rust
13 lines
238 B
Rust
#![feature(proc_macro)]
|
|
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
|
|
enum E {
|
|
#[serde(abc="xyz")] //~^^ HELP: unknown serde variant attribute `abc`
|
|
V,
|
|
}
|
|
|
|
fn main() { }
|