mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 21:48:02 +00:00
Update to syn 2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error: unexpected end of input, expected literal
|
||||
error: unexpected end of input, expected an expression
|
||||
--> tests/ui/malformed/cut_off.rs:4:17
|
||||
|
|
||||
4 | #[serde(rename =)]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
error: expected #[serde(...)]
|
||||
error: expected attribute arguments in parentheses: #[serde(...)]
|
||||
--> tests/ui/malformed/not_list.rs:4:3
|
||||
|
|
||||
4 | #[serde]
|
||||
| ^^^^^
|
||||
|
||||
error: expected #[serde(...)]
|
||||
--> tests/ui/malformed/not_list.rs:5:3
|
||||
error: expected parentheses: #[serde(...)]
|
||||
--> tests/ui/malformed/not_list.rs:5:9
|
||||
|
|
||||
5 | #[serde = "?"]
|
||||
| ^^^^^^^^^^^
|
||||
| ^
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: unexpected literal in serde container attribute
|
||||
error: expected path
|
||||
--> tests/ui/unexpected-literal/container.rs:4:9
|
||||
|
|
||||
4 | #[serde("literal")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: unexpected literal in serde field attribute
|
||||
error: expected path
|
||||
--> tests/ui/unexpected-literal/field.rs:5:13
|
||||
|
|
||||
5 | #[serde("literal")]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
error: unexpected literal in serde variant attribute
|
||||
error: expected path
|
||||
--> tests/ui/unexpected-literal/variant.rs:5:13
|
||||
|
|
||||
5 | #[serde("literal")]
|
||||
|
||||
Reference in New Issue
Block a user