Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Can't assign extern function to variable with corresponding complete type #16

Open
jdm opened this Issue · 0 comments

1 participant

@jdm
Owner
rusti> extern fn foo() {}
()
rusti> let f: extern fn() = foo;
<anon>:37:21: 37:24 error: mismatched types: expected `fn()` but found `*u8` (expected fn but found *-ptr)
<anon>:37 let f: extern fn() = foo;
                               ^~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.