mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 23:27:59 +00:00
Rewrite attribute parser using parse_nested_meta
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error: expected path
|
||||
error: unexpected literal in nested attribute, expected ident
|
||||
--> tests/ui/unexpected-literal/container.rs:4:9
|
||||
|
|
||||
4 | #[serde("literal")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: expected path
|
||||
error: unexpected literal in nested attribute, expected ident
|
||||
--> tests/ui/unexpected-literal/field.rs:5:13
|
||||
|
|
||||
5 | #[serde("literal")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: expected path
|
||||
error: unexpected literal in nested attribute, expected ident
|
||||
--> tests/ui/unexpected-literal/variant.rs:5:13
|
||||
|
|
||||
5 | #[serde("literal")]
|
||||
|
||||
Reference in New Issue
Block a user