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

Compile error #25

Closed
avpdiver opened this issue Nov 10, 2014 · 2 comments
Closed

Compile error #25

avpdiver opened this issue Nov 10, 2014 · 2 comments

Comments

@avpdiver
Copy link

Hi!
I have tried to build small 'helloworld' code with gl-rs dependency (https://github.com/bjz/gl-rs) and get error:
Compiling rust-xml v0.1.0 (https://github.com/netvl/rust-xml#d6c57380)
src\namespace.rs:67:36: 67:45 error: type bool does not implement any method in scope named is_none
src\namespace.rs:67 self.0.insert(prefix, uri).is_none()
error: aborting due to previous error
Could not compile rust-xml.

I am using Rust version 0.13.0-nightly (0a5e7f359 2014-11-03 23:16:55 +0000) on Windows 8.1

@tomaka
Copy link
Collaborator

tomaka commented Nov 10, 2014

Your compiler is not up-to-date.
In the version you have insert returns a bool, but in the nightlies it returns an Option.

@avpdiver
Copy link
Author

Thanks :)

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

No branches or pull requests

2 participants