serde/test_suite/tests/regression/issue2409.rs
2023-03-20 03:59:43 -07:00

12 lines
196 B
Rust

use serde::Deserialize;
macro_rules! bug {
($serde_path:literal) => {
#[derive(Deserialize)]
#[serde(crate = $serde_path)]
pub struct Struct;
};
}
bug!("serde");