-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
yet another ICE with HRTB and RPIT #95647
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Another likely related example? (the failed assertion is different though) trait Tr<'a> {
type Assoc;
}
impl<'a> Tr<'a> for () {
type Assoc = &'a ();
}
fn g() -> impl for<'a> Tr<'a, Assoc = impl Send + 'a> {}
Backtrace
|
matthiaskrgr
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Apr 4, 2022
This was referenced Apr 18, 2022
See #96146 (comment) for other ways to reproduce the ICE. |
This was referenced May 15, 2022
The both snippets are no longer ICEs, marking as |
JohnTitor
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
May 15, 2022
#97039 fixed this and it has a sufficient test, closing. |
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.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
I tried this code:
(play)
I expected to see this happen: the code compiles.
Instead, this happened: ICE.
On stable this segfault because of a stackoverflow, but this was fixed by #94081. Now, on nightly (1.61.0-nightly (2022-04-03 6af09d2) this produces internal compiler error:
I've found this while working on #93582, this may be related to a similar ICE that I've found while testing it.
Backtrace
The text was updated successfully, but these errors were encountered: