-
Notifications
You must be signed in to change notification settings - Fork 11
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 running with nightly #17
Comments
This crate doesn't actually use any unstable features. They're all in cron.
|
I'm going to publish an updated version of the crate to fix the build issue this evening. I'd be ok with replacing |
I've published v0.4 to crates.io. |
@zslayton Awesome, thanks. I'll get that integrated into here soon. |
I can only seem to run with nightly-2017-06-29 later versions give
I think the issue is fixed in https://github.com/zslayton but not your local fork.
error: use of unstable library feature 'iterator_step_by': unstable replacement of Range::step_by (see issue #27741)
--> /home/glenn/.cargo/git/checkouts/cron-652715304a961849/bcd3b79/src/time_unit/mod.rs:79:55
|
79 | Ok((start..Self::inclusive_max() + 1).step_by(step).collect())
| ^^^^^^^
|
= help: add #![feature(iterator_step_by)] to the crate attributes to enable
error[E0308]: mismatched types
--> /home/glenn/.cargo/git/checkouts/cron-652715304a961849/bcd3b79/src/time_unit/mod.rs:79:63
|
79 | Ok((start..Self::inclusive_max() + 1).step_by(step).collect())
| ^^^^ expected usize, found u32
PS do you think it is doable to fork a version that runs on stable rust ?
I ask as the unstable features
#![feature(collections_range)]
#![feature(conservative_impl_trait)]
#![feature(step_by)]
don't seem to be moving towards stable very fast and I wonder if it would be easier for me to fork to use stable features. (Haven't looked at the code yet so I don't know if it is worth my time)
Thanks
The text was updated successfully, but these errors were encountered: