-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
update: i seem to ICE with the following program: extern crate rustc;
fn main() {} |
Well, compiling latest rustc seems not to ICE. 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
Hey, I am running CrunchBang Linux 11 "Waldorf", 64bit.
Seems to have failed building rustdoc?
https://gist.github.com/sinistersnare/76cc313cb01c4abaabd4
The text was updated successfully, but these errors were encountered: