#[feature] may not be used on the stable release channel
nilq opened this issue · comments
Niels Horn commented
yes hello, this might or might not be a problem.
$ cargo build
Compiling bitflags v0.8.2
Compiling encode_unicode v0.1.3
Compiling strsim v0.6.0
Compiling ansi_term v0.9.0
Compiling nom v2.2.0
Compiling unicode-segmentation v1.1.0
Compiling void v1.0.2
Compiling bitflags v0.4.0
Compiling semver v0.1.20
Compiling vec_map v0.7.0
Compiling unicode-width v0.1.4
Compiling libc v0.2.21
Compiling cfg-if v0.1.0
Compiling rustc_version v0.1.7
Compiling term_size v0.3.0
Compiling atty v0.2.2
Compiling nix v0.7.0
Compiling clap v2.23.3
Compiling rustyline v1.0.0 (https://github.com/kkawakam/rustyline#ec773db5)
Compiling monkey-rust v0.1.0 (file:///home/niql/workspaces/rust/monkey-rust)
error[E0554]: #[feature] may not be used on the stable release channel
--> lib/monkey.rs:1:1
|
1 | #![feature(box_syntax, box_patterns, slice_patterns, advanced_slice_patterns)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: #[feature] may not be used on the stable release channel
--> lib/monkey.rs:2:1
|
2 | #![feature(closure_to_fn_coercion)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile `monkey-rust`.
To learn more, run the command again with --verbose.
Jérôme Mahuet commented
Indeed, you currently need to have a nightly Rust to compile this project.
If people thinks it's worth to make it compile with Rust stable, I can give it a try?
Jérôme Mahuet commented
Niels Horn commented
Ah, neat - will take a look :))