mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 20:11:02 +00:00
Add regression test for issue 2409
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
use serde::Deserialize;
|
||||||
|
|
||||||
|
macro_rules! bug {
|
||||||
|
($serde_path:literal) => {
|
||||||
|
#[derive(Deserialize)]
|
||||||
|
#[serde(crate = $serde_path)]
|
||||||
|
pub struct Struct;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
bug!("serde");
|
||||||
Reference in New Issue
Block a user