Add main function to ui tests without main

These emit a new error not relevant to Serde as of nightly-2018-12-29.
This commit is contained in:
David Tolnay committed 2018-12-29 00:18:55 -05:00
1 parent eb7250792b
commit e49b6c708b
6 files changed
+12

No files matched your search

@@ -5,3 +5,5 @@ extern crate serde_derive;
struct S<'de> {
s: &'de str,
}
fn main() {}
@@ -6,3 +6,5 @@ struct S {
string: String,
slice: [u8],
}
fn main() {}