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

Usage of deprecated std::num::FromPrimitive #165

Closed
HolgerPeters opened this issue Apr 25, 2015 · 1 comment
Closed

Usage of deprecated std::num::FromPrimitive #165

HolgerPeters opened this issue Apr 25, 2015 · 1 comment

Comments

@HolgerPeters
Copy link

Trying to get rust-sdl working, I found that events.rs uses std::num::FromPrimitive which has been removed from rust by now (see rust-lang/rust#16920 for more information). Thus, rust-sdl will not compile with newest rust.

~/.cargo/git/checkouts/rust-sdl-917d0a231cab7c3c/master/src/sdl/event.rs:4:5: 4:28 error: unresolved import std::num::FromPrimitive. There is no FromPrimitive in std::num

@lgrz lgrz closed this as completed in a9c4139 Apr 26, 2015
@lgrz
Copy link
Collaborator

lgrz commented Apr 26, 2015

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