V
V
Vladimir T2017-10-02 18:52:58
Rust
Vladimir T, 2017-10-02 18:52:58

peg-syntax-ext does not compile, what should I do?

I'm a complete zero in rust, so please don't laugh too hard.
I'm trying to compile the program, the following is written in Cargo.toml:

[dependencies]
llvm-sys = "0.2"
peg-syntax-ext = "0.5.2"

When I compile I get the following:
Compiling peg-syntax-ext v0.5.2
error[E0554]: #[feature] may not be used on the stable release channel
 --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-syntax-ext-0.5.2/lib.rs:1:1
  |
1 | #![feature(plugin_registrar, quote, rustc_private, box_patterns)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile `peg-syntax-ext`.

What to do with it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Orlov, 2017-10-02
@madfly

Obviously take the nightly version of the compiler...

V
Vladimir T, 2017-10-03
@32bit_me

No, it's not obvious. Same error.
Sorry, got it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question