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

Recent rustc nightlies panic when building gfx-backend-metal #26648

Closed
jdm opened this issue May 26, 2020 · 3 comments
Closed

Recent rustc nightlies panic when building gfx-backend-metal #26648

jdm opened this issue May 26, 2020 · 3 comments
Labels

Comments

@jdm
Copy link
Member

@jdm jdm commented May 26, 2020

thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', src/librustc_mir_build/hair/pattern/_match.rs:1184:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: rustc 1.45.0-nightly (46e85b432 2020-05-24) running on x86_64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: could not compile `gfx-backend-metal`.

This might need to be reported upstream like #26645.

@jdm
Copy link
Member Author

@jdm jdm commented May 26, 2020

Reported in rust-lang/rust#72593

@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented May 26, 2020

I also got this error while compiling script crate 👀

@SimonSapin SimonSapin mentioned this issue May 26, 2020
7 of 7 tasks complete
@jdm
Copy link
Member Author

@jdm jdm commented May 27, 2020

No need to track this issue given #26661.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.