2ef1cd4b35
This makes it easier to execute tests against the precompiled serde_derive.
12 lines
203 B
Rust
12 lines
203 B
Rust
use serde_derive::Deserialize;
|
|
|
|
macro_rules! bug {
|
|
($serde_path:literal) => {
|
|
#[derive(Deserialize)]
|
|
#[serde(crate = $serde_path)]
|
|
pub struct Struct;
|
|
};
|
|
}
|
|
|
|
bug!("serde");
|