mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 03:38:00 +00:00
2ef1cd4b35
This makes it easier to execute tests against the precompiled serde_derive.
11 lines
161 B
Rust
11 lines
161 B
Rust
use serde_derive::Serialize;
|
|
|
|
#[derive(Serialize)]
|
|
#[serde(bound = ""huh)]
|
|
pub struct Struct {
|
|
#[serde(rename = ""what)]
|
|
pub field: i32,
|
|
}
|
|
|
|
fn main() {}
|