mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 20:38:02 +00:00
Add ui test of malformed attribute containing expression
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use serde_derive::Serialize;
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct S {
|
||||
#[serde(skip_serializing_if, x.is_empty())]
|
||||
x: Vec<()>,
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user