mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 19:26:17 +00:00
Update ui test files
This commit is contained in:
96 files changed
+103
-103
No files matched your search
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/boolean.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/boolean.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = true)]
|
||||
| ^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/byte_character.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/byte_character.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = b'a')]
|
||||
| ^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/byte_string.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/byte_string.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = b"byte string")]
|
||||
| ^^^^^^^^^^^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/character.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/character.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = 'a')]
|
||||
| ^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/float.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/float.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = 3.14)]
|
||||
| ^^^^
|
||||
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/integer.rs:5:22
|
||||
--> $DIR/tests/ui/expected-string/integer.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = 100)]
|
||||
| ^^^
|
||||
Reference in new issue
Block a user