mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 19:28:01 +00:00
Switch ui tests to trybuild
This commit is contained in:
@@ -9,6 +9,3 @@ error: #[serde(field_identifier)] and #[serde(variant_identifier)] cannot both b
|
||||
|
|
||||
4 | #[serde(field_identifier, variant_identifier)]
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(field_identifier)] can only be used on an enum
|
||||
|
|
||||
5 | struct S;
|
||||
| ^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(field_identifier)] may only contain unit variants
|
||||
|
|
||||
7 | B(u8, u8),
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: `Other` must be the last variant
|
||||
|
|
||||
7 | Other(String),
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -4,6 +4,3 @@ error: #[serde(other)] must be on a unit variant
|
||||
7 | / #[serde(other)]
|
||||
8 | | Other(u8, u8),
|
||||
| |_________________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -4,6 +4,3 @@ error: #[serde(other)] must be on the last variant
|
||||
7 | / #[serde(other)]
|
||||
8 | | Other,
|
||||
| |_________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -4,6 +4,3 @@ error: #[serde(other)] cannot appear on untagged enum
|
||||
6 | / #[serde(other)]
|
||||
7 | | Other,
|
||||
| |_________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -4,6 +4,3 @@ error: #[serde(other)] may not be used on a variant identifier
|
||||
6 | / #[serde(other)]
|
||||
7 | | Other,
|
||||
| |_________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(variant_identifier)] can only be used on an enum
|
||||
|
|
||||
5 | struct S;
|
||||
| ^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(variant_identifier)] may only contain unit variants
|
||||
|
|
||||
7 | B(u8, u8),
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user