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 2018-12-29 00:16:22 -05:00
parent eb7250792b
commit e49b6c708b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
6 changed files with 12 additions and 0 deletions

View File

@ -6,3 +6,5 @@ extern crate serde_derive;
enum E { enum E {
S { f: u8 }, S { f: u8 },
} }
fn main() {}

View File

@ -6,3 +6,5 @@ extern crate serde_derive;
enum E { enum E {
S { f: u8 }, S { f: u8 },
} }
fn main() {}

View File

@ -5,3 +5,5 @@ extern crate serde_derive;
struct S<'de> { struct S<'de> {
s: &'de str, s: &'de str,
} }
fn main() {}

View File

@ -6,3 +6,5 @@ struct S {
string: String, string: String,
slice: [u8], slice: [u8],
} }
fn main() {}

View File

@ -9,3 +9,5 @@ enum TestOne {
Two, Two,
Three, Three,
} }
fn main() {}

View File

@ -9,3 +9,5 @@ enum TestOne {
Two, Two,
Three, Three,
} }
fn main() {}