Add ui test of malformed attribute containing expression

This commit is contained in:
David Tolnay
2023-03-16 00:15:54 -07:00
parent 54671259aa
commit c0296ee11b
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,9 @@
use serde_derive::Serialize;
#[derive(Serialize)]
struct S {
#[serde(skip_serializing_if, x.is_empty())]
x: Vec<()>,
}
fn main() {}