Switch ui tests to trybuild

This commit is contained in:
David Tolnay
2019-05-03 23:23:02 -07:00
parent 28ce892617
commit 140f9beee7
98 changed files with 5 additions and 350 deletions
@@ -3,6 +3,3 @@ error: #[serde(tag = "...", content = "...")] must be used together
|
4 | #[serde(content = "c")]
| ^^^^^^^
error: aborting due to previous error
@@ -3,6 +3,3 @@ error: #[serde(tag = "...")] cannot be used with tuple variants
|
6 | Tuple(u8, u8),
| ^^^^^^^^^^^^^
error: aborting due to previous error
@@ -15,6 +15,3 @@ error: untagged enum cannot have #[serde(tag = "...", content = "...")]
|
5 | #[serde(tag = "t", content = "c")]
| ^^^^^^^
error: aborting due to 3 previous errors
@@ -9,6 +9,3 @@ error: untagged enum cannot have #[serde(content = "...")]
|
5 | #[serde(content = "c")]
| ^^^^^^^
error: aborting due to 2 previous errors
@@ -9,6 +9,3 @@ error: enum cannot be both untagged and internally tagged
|
5 | #[serde(tag = "type")]
| ^^^
error: aborting due to 2 previous errors
@@ -3,6 +3,3 @@ error: #[serde(untagged)] can only be used on enums
|
5 | struct S;
| ^^^^^^
error: aborting due to previous error