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
@@ -7,6 +7,3 @@ error: enum tags `conflict` for type and content conflict with each other
7 | | B,
8 | | }
| |_^
error: aborting due to previous error
@@ -3,6 +3,3 @@ error: #[serde(flatten)] cannot be used on newtype structs
|
6 | struct Foo(#[serde(flatten)] HashMap<String, String>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
@@ -3,6 +3,3 @@ error: #[serde(flatten)] cannot be used on tuple structs
|
6 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
@@ -9,6 +9,3 @@ error: variant field name `conflict` conflicts with internal tag
9 | | },
10 | | }
| |_^
error: aborting due to previous error
@@ -9,6 +9,3 @@ error: variant field name `conflict` conflicts with internal tag
9 | | },
10 | | }
| |_^
error: aborting due to previous error