Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile on nightly 2018-04-27 with nightly feature enabled #96

Closed
razorheadfx opened this issue Apr 28, 2018 · 3 comments
Closed

Comments

@razorheadfx
Copy link

razorheadfx commented Apr 28, 2018

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.lhy31512.workers.dev-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.

edit: fix nightly version date

@razorheadfx razorheadfx changed the title Fails to compile on nightly 2018-04-20 with nightly feature enabled Fails to compile on nightly 2018-04-27 with nightly feature enabled Apr 28, 2018
@razorheadfx
Copy link
Author

Cheers!

@whmountains
Copy link

Is it fixed?

@razorheadfx
Copy link
Author

PR #97 not merged yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants