-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Compiler problem after upgrading the Nightly channel to 1.26.0-nightly (521d91c6b 2018-03-14), on x86_64-apple-darwin #49043
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi, thanks for the report. Could you provide the code you are compiling which causes the crash? (It may be the same bug as #48995 (comment)) |
I get the same error message if I forget a "extern crate" or have a case-sensitive error in my "use XXX" statements. Its pretty easy to reproduce. See the following code. "Thread_rng" should be "thread_rng". Same happens if you miss the "extern crate rng" extern crate rand;
use rand::{Rng,Thread_rng};
fn main() {
println!("Hello, world! {}",*thread_rng().choose(&[0, 1, 2, 3]).unwrap());
} Output
|
@nikomatsakis, it seems that |
triage: P-high |
I got the same issue. I was able to reproduce it by removing one of the mod statements from mod.rs |
I can reproduce the problem using @fatcrack's example. |
Got a fix coming. Turns out I was wrong, and we do just want to extend the stable hasher. |
…aelwoerister extend stable hasher to support `CanonicalTy` Fixes #49043 r? @michaelwoerister
Action Done
Upgrading nightly channel (on Mac OS, x86_64).
Error
error: internal compiler error: librustc/ich/impls_ty.rs:907: ty::TypeVariants::hash_stable() - Unexpected variant TyInfer(?0).
Environment
rustc 1.26.0-nightly (521d91c 2018-03-14) running on x86_64-apple-darwin
compiler flags: -C debuginfo=2 -C incremental --crate-type lib
Full Trace
The text was updated successfully, but these errors were encountered: