Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Compilation error on nightly rust #1042
Rocket fails to compile on latest(as of writing this) version of nightly rust. The version of rust used is:
rustc 1.37.0-nightly (17e62f77f 2019-07-01)
Below is the error:
error[E0432]: unresolved import `std::boxed::FnBox` --> /home/[username]/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.1/src/fairing/ad_hoc.rs:2:5 | 2 | use std::boxed::FnBox; | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` Compiling reqwest v0.9.18 error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. error: Could not compile `rocket`. warning: build failed, waiting for other jobs to finish... error: build failed
Any help would be appreciated.