Make main public to accommodate check-fast

This commit is contained in:
Niko Matsakis 2013-11-09 09:13:58 -05:00
parent b32845d984
commit a15196c53b
2 changed files with 2 additions and 2 deletions

View File

@ -29,4 +29,4 @@ fn use_<'a>(c: Contravariant<'a>) {
fn collapse<'b>(x: &'b int, c: Contravariant<'b>) { }
}
fn main() {}
pub fn main() {}

View File

@ -26,4 +26,4 @@ fn use_<'a>(c: Covariant<'a>) {
let _: Covariant<'static> = c;
}
fn main() {}
pub fn main() {}