Add regression test for issue 2409

This commit is contained in:
David Tolnay
2023-03-20 03:59:43 -07:00
parent 479a00a215
commit c3d637f397
+11
View File
@@ -0,0 +1,11 @@
use serde::Deserialize;
macro_rules! bug {
($serde_path:literal) => {
#[derive(Deserialize)]
#[serde(crate = $serde_path)]
pub struct Struct;
};
}
bug!("serde");