Rewrite attribute parser using parse_nested_meta

This commit is contained in:
David Tolnay
2023-03-16 00:11:35 -07:00
parent 05098105a8
commit bc22641359
5 changed files with 477 additions and 595 deletions
@@ -1,5 +1,5 @@
error: expected `,`
--> tests/ui/malformed/trailing_expr.rs:5:35
error: expected `=`
--> tests/ui/malformed/trailing_expr.rs:5:32
|
5 | #[serde(skip_serializing_if, x.is_empty())]
| ^
| ^