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

Internal Compiler Error on OSX Sierra #38403

Closed
trevoranderson opened this issue Dec 16, 2016 · 3 comments
Closed

Internal Compiler Error on OSX Sierra #38403

trevoranderson opened this issue Dec 16, 2016 · 3 comments

Comments

@trevoranderson
Copy link

trevoranderson commented Dec 16, 2016

Test case created with cargo new --bin on rustc 1.15.0-nightly (ebeee0e 2016-12-04)

fn repro()
{
    let q = Some(str);
}
fn main() {
    println!("Hello, world!");
}

Compiler Output:

   Compiling repro v0.1.0 (**censored**)
error: internal compiler error: ../src/librustc_typeck/check/mod.rs:4396: unexpected definition: PrimTy(TyStr)

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

thread 'rustc' panicked at 'Box<Any>', ../src/librustc_errors/lib.rs:423
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: Could not compile `repro`.

To learn more, run the command again with --verbose.
@est31
Copy link
Member

est31 commented Dec 16, 2016

This is a duplicate of #38155

@est31
Copy link
Member

est31 commented Dec 16, 2016

Should be fixed by the next time we have a nightly.

@sanxiyn
Copy link
Member

sanxiyn commented Dec 16, 2016

Closing as a duplicate.

@sanxiyn sanxiyn closed this as completed Dec 16, 2016
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

3 participants