rustc: Fix the logic for finding the Android main function
I don't understand what this logic is doing
This commit is contained in:
parent
98f5c6d5b6
commit
3970d02ec5
3 changed files with 23 additions and 13 deletions
|
|
@ -11,3 +11,5 @@
|
|||
fn bad (p: *int) {
|
||||
let _q: &int = p as ∫ //~ ERROR non-scalar cast
|
||||
}
|
||||
|
||||
fn main() { }
|
||||
|
|
@ -19,3 +19,5 @@ enum color {
|
|||
black = 0x000000,
|
||||
white = 0x000000,
|
||||
}
|
||||
|
||||
fn main() { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue