mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 00:27:56 +00:00
ef5d09e144
Fixes #575
13 lines
263 B
Rust
13 lines
263 B
Rust
#![feature(proc_macro)]
|
|
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[derive(Serialize)] //~ ERROR: custom derive attribute panicked
|
|
struct S {
|
|
#[serde(rename="x", serialize="y")] //~^^ HELP: unknown serde field attribute `serialize`
|
|
x: (),
|
|
}
|
|
|
|
fn main() {}
|