mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-01 23:11:18 +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");
|