Skip to content

Compiler crash #60842

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

Closed
AlterionX opened this issue May 14, 2019 · 2 comments
Closed

Compiler crash #60842

AlterionX opened this issue May 14, 2019 · 2 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@AlterionX
Copy link

The compiler crashed and told me to report it.

I shaved off the excess and found this to be a minimally working (breaking) example:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=10a2d80c7a36cc12edaa39cd3d6a5781

I expected it to tell me that the T in a::<'_, T> is an error.

Meta

rustc --version --verbose:

Backtrace:

rustc 1.34.2 (6c2484dc3 2019-05-13)
binary: rustc
commit-hash: 6c2484dc3c532c052f159264e970278d8b77cdc9
commit-date: 2019-05-13
host: x86_64-unknown-linux-gnu
release: 1.34.2
LLVM version: 8.0
@jonas-schievink jonas-schievink added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ I-nominated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 14, 2019
@jonas-schievink
Copy link
Contributor

Thanks for the report and the small example!

This is possibly a duplicate of #60622

@jonas-schievink
Copy link
Contributor

Jup, this one also regressed between 1.29.2 and 1.30.0, so I'll close this as a duplicate of #60622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants