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

Does not compile on rust 1.36.0 #83

Closed
axos88 opened this issue Feb 7, 2020 · 3 comments
Closed

Does not compile on rust 1.36.0 #83

axos88 opened this issue Feb 7, 2020 · 3 comments

Comments

@axos88
Copy link

axos88 commented Feb 7, 2020

Although the docs state compatibility with 1.31.0

error[E0658]: use of unstable library feature 'iter_nth_back'
   --> src/main.rs:139:75
    |
139 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, Hash, EnumIter)]
    |                                                                           ^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/56995

error: aborting due to previous error
@Peternator7
Copy link
Owner

That's what I get for losing track of what rustc I have installed. :) Here's a PR to fix it.

#85

@axos88
Copy link
Author

axos88 commented Feb 8, 2020

Shouldn't it be pretty easy to add specific rust versions to the build? That way CI would've caught this.
Thanks for the quick fix. Please let me know when you have it released.

@Peternator7
Copy link
Owner

Published as 0.18.0. https://crates.io/crates/strum

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