Trying to compile with current nightly toolchain (2018-04-27) with nightly feature enabled fails with:
error[E0425]: cannot find function `unreachable` in module `std::mem`
--> /home/foo/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.0/src/nightly_lazy.rs:30:35
|
30 | None => std::mem::unreachable(),
| ^^^^^^^^^^^ not found in `std::mem`
help: possible candidate is found in another module, you can import it into scope
|
10 | use lazy::std::intrinsics::unreachable;
|
Looks like a regression on nightly as it compiles fine with nightly-2018-04-10.
Trying to compile with current nightly toolchain (2018-04-27) with nightly feature enabled fails with:
Looks like a regression on nightly as it compiles fine with nightly-2018-04-10.
edit: fix nightly version date