-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE: /checkout/src/librustc/ich/impls_ty.rs:78: TypeIdHasher: unexpected region ReLateBound(DebruijnIndex { depth: 1 }, "BrEnv") #45161
Comments
Hello I'm getting a similar backtrace with my project (gitlab.labs.nic.cz/turris/pakon-aggregator). However, I get it only with |
I am also seeing the same behavior. Setting CARGO_INCREMENTAL to 0 causes the ICE to disappear. |
Thanks for the bug report, @CraZySacX! |
The same error for me. I don't know if this is the same bug, but the minimal code to reproduce below enum Enum { A }
fn fail() {
let x: Vec<_> = [Enum::A].iter().map(|e| e).collect();
} |
I think it is the same one. I definitely have code something like this in the project. |
A fix for this is already in the queue: #45176 |
…er, r=nikomatsakis incr.comp.: Fix HashStable for ty::RegionKind and trans item order Fixes #45161 and the failing rust-icci tests. r? @nikomatsakis
Received the ICE in the title when compilng rsjni
output.txt
This only occurred on the
x86_64-unknown-linux-gnu
nightly build. I was able to successfully build and test withi686-unknown-linux-gnu
andx86_64-pc-windows-msvc
nightlies.Meta
rustc --version --verbose
rustc 1.22.0-nightly (692b94a 2017-10-09)
binary: rustc
commit-hash: 692b94a
commit-date: 2017-10-09
host: x86_64-unknown-linux-gnu
release: 1.22.0-nightly
LLVM version: 4.0
Backtrace:
The text was updated successfully, but these errors were encountered: