mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Make main public to accommodate check-fast
This commit is contained in:
parent
b32845d984
commit
a15196c53b
@ -29,4 +29,4 @@ fn use_<'a>(c: Contravariant<'a>) {
|
||||
fn collapse<'b>(x: &'b int, c: Contravariant<'b>) { }
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
pub fn main() {}
|
||||
|
@ -26,4 +26,4 @@ fn use_<'a>(c: Covariant<'a>) {
|
||||
let _: Covariant<'static> = c;
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
pub fn main() {}
|
||||
|
Loading…
Reference in New Issue
Block a user