mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 00:08:01 +00:00
Ui test changes for trybuild 1.0.49
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
error: expected serde rename attribute to be a string: `rename = "..."`
|
||||
--> $DIR/tests/ui/expected-string/boolean.rs:5:22
|
||||
--> 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/tests/ui/expected-string/byte_character.rs:5:22
|
||||
--> 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/tests/ui/expected-string/byte_string.rs:5:22
|
||||
--> 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/tests/ui/expected-string/character.rs:5:22
|
||||
--> 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/tests/ui/expected-string/float.rs:5:22
|
||||
--> 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/tests/ui/expected-string/integer.rs:5:22
|
||||
--> tests/ui/expected-string/integer.rs:5:22
|
||||
|
|
||||
5 | #[serde(rename = 100)]
|
||||
| ^^^
|
||||
|
||||
Reference in New Issue
Block a user