canndrew / error_def

Rust syntax extension for generating error-handling boilerplate code.
GNU General Public License v2.0
18 stars 1 forks source link

Build fails with "can't find crate for `rustc_front`" #1

Closed kc1212 closed 8 years ago

kc1212 commented 8 years ago

I'm getting the following error after running cargo build.

Compiling error_def v0.3.6 (file:///home/kc1212/rustcode/error_def)
src/lib.rs:7:1: 7:26 error: can't find crate for `rustc_front` [E0463]
src/lib.rs:7 extern crate rustc_front;
             ^~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
error: Could not compile `error_def`.

I read somewhere that rustc_front comes with the compiler, so it may be related to the version of rust that I'm using - rustc 1.10.0-nightly (8da2bcac5 2016-04-28).

kc1212 commented 8 years ago

Looks like rustc_front got moved - https://github.com/rust-lang/rust/pull/32570

canndrew commented 8 years ago

Thanks for the bug report! This is fixed in 0.3.7