-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustc (nightly) hangs when put extern crate + use inside a function #36881
Comments
After a few seconds,
Given that this seems to be all in By the way, this can be reproduced without cargo (by just using the private |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Oct 1, 2016
resolve: fix incorrect code in `module_to_string` Fixes rust-lang#36881. r? @nrc or @eddyb
This was referenced Dec 2, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When use both
extern crate
anduse
on same crate inside a function, the nightly rust compiler hangs forever.I tried this code (A fresh cargo new):
I expected it works.
Instead, the compiler hangs and doesn't out put anything.
Meta
rustc --version --verbose
:No Backtrace. Stable toolchain is OK.
The text was updated successfully, but these errors were encountered: