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

ICE: Invalid ParamSpace compiling rustc #17789

Closed
sinistersnare opened this issue Oct 5, 2014 · 3 comments
Closed

ICE: Invalid ParamSpace compiling rustc #17789

sinistersnare opened this issue Oct 5, 2014 · 3 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@sinistersnare
Copy link
Contributor

Hey, I am running CrunchBang Linux 11 "Waldorf", 64bit.

Seems to have failed building rustdoc?

https://gist.github.com/sinistersnare/76cc313cb01c4abaabd4

@huonw huonw added O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ and removed O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state labels Oct 5, 2014
@sinistersnare
Copy link
Contributor Author

update: i seem to ICE with the following program:

extern crate rustc;

fn main() {}

@sinistersnare
Copy link
Contributor Author

Well, compiling latest rustc seems not to ICE. so should i close this?

@ghost ghost self-assigned this Dec 12, 2014
@steveklabnik
Copy link
Member

so should i close this?

Yes, thanks!

lnicola pushed a commit to lnicola/rust that referenced this issue Aug 13, 2024
fix: Insert a generic arg for `impl Trait` when lowering generic args

Fixes rust-lang#17191

We are not inserting a generic arg when lowering generics like
```rust
fn foo<T: B<impl A>(..) { ... }
```
but when we are lowering predicates we do;

https://github.com/rust-lang/rust-analyzer/blob/aa00ddcf654a35ba0eafe17247cf189958d33182/crates/hir-ty/src/lower.rs#L1697-L1718
https://github.com/rust-lang/rust-analyzer/blob/aa00ddcf654a35ba0eafe17247cf189958d33182/crates/hir-ty/src/lower.rs#L310

and this mismatch causes index out of bound panic while substituting the predicates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

3 participants