serde/test_suite/tests/ui/malformed/trailing_expr.rs

10 lines
142 B
Rust

use serde_derive::Serialize;
#[derive(Serialize)]
struct S {
#[serde(skip_serializing_if, x.is_empty())]
x: Vec<()>,
}
fn main() {}