Switch ui tests to trybuild

This commit is contained in:
David Tolnay committed 2019-05-06 10:25:47 -07:00
1 parent 28ce892617
commit 140f9beee7
98 files changed
+5 -350

No files matched your search

@@ -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