rustc: Fix the logic for finding the Android main function

I don't understand what this logic is doing
This commit is contained in:
Brian Anderson 2013-05-06 18:48:24 -07:00
parent 98f5c6d5b6
commit 3970d02ec5
3 changed files with 23 additions and 13 deletions

View file

@ -11,3 +11,5 @@
fn bad (p: *int) {
let _q: &int = p as ∫ //~ ERROR non-scalar cast
}
fn main() { }

View file

@ -19,3 +19,5 @@ enum color {
black = 0x000000,
white = 0x000000,
}
fn main() { }