Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building the README usage example #712

Closed
jshrake opened this issue Jan 23, 2016 · 0 comments
Closed

Error building the README usage example #712

jshrake opened this issue Jan 23, 2016 · 0 comments

Comments

@jshrake
Copy link
Contributor

jshrake commented Jan 23, 2016

Building the README usage example produces the following error:

src/main.rs:11:32: 11:63 error: mismatched types:
 expected `*const std::os::raw::c_void`,
    found `*const ()`
(expected enum `std::os::raw::c_void`,
    found ()) [E0308]
src/main.rs:11         gl::load_with(|symbol| window.get_proc_address(symbol));
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:11:32: 11:63 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error

I'm using rustc 1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant