mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 01:18:02 +00:00
Update ui test files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
error: malformed bound attribute, expected `bound(serialize = ..., deserialize = ...)`
|
||||
--> $DIR/bound.rs:5:19
|
||||
--> $DIR/tests/ui/malformed/bound.rs:5:19
|
||||
|
|
||||
5 | #[serde(bound(unknown))]
|
||||
| ^^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: unexpected end of input, expected literal
|
||||
--> $DIR/cut_off.rs:4:17
|
||||
--> $DIR/tests/ui/malformed/cut_off.rs:4:17
|
||||
|
|
||||
4 | #[serde(rename =)]
|
||||
| ^
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
error: expected #[serde(...)]
|
||||
--> $DIR/not_list.rs:4:3
|
||||
--> $DIR/tests/ui/malformed/not_list.rs:4:3
|
||||
|
|
||||
4 | #[serde]
|
||||
| ^^^^^
|
||||
|
||||
error: expected #[serde(...)]
|
||||
--> $DIR/not_list.rs:5:3
|
||||
--> $DIR/tests/ui/malformed/not_list.rs:5:3
|
||||
|
|
||||
5 | #[serde = "?"]
|
||||
| ^^^^^^^^^^^
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: malformed rename attribute, expected `rename(serialize = ..., deserialize = ...)`
|
||||
--> $DIR/rename.rs:5:20
|
||||
--> $DIR/tests/ui/malformed/rename.rs:5:20
|
||||
|
|
||||
5 | #[serde(rename(unknown))]
|
||||
| ^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user