mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 20:38:02 +00:00
14 lines
225 B
Rust
14 lines
225 B
Rust
#![allow(dead_code)]
|
|
|
|
use serde_derive::Deserialize;
|
|
|
|
macro_rules! bug {
|
|
($serde_path:literal) => {
|
|
#[derive(Deserialize)]
|
|
#[serde(crate = $serde_path)]
|
|
pub struct Struct;
|
|
};
|
|
}
|
|
|
|
bug!("serde");
|