Move all compile-fail tests to ui tests

The update-references.sh script makes these much easier to update in
bulk compared to compile-fail tests.
This commit is contained in:
David Tolnay
2018-11-24 15:37:35 -08:00
parent b3d9d51b51
commit 4821d09a48
134 changed files with 603 additions and 73 deletions
@@ -0,0 +1,8 @@
error: variant `Struct` cannot have both #[serde(deserialize_with)] and a field `f1` marked with #[serde(skip_deserializing)]
--> $DIR/skip_de_struct_field.rs:12:10
|
12 | #[derive(Deserialize)]
| ^^^^^^^^^^^
error: aborting due to previous error