-
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 (const generics) with const generics in trait #62504
Labels
A-const-generics
Area: const generics (parameters and arguments)
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.
F-const_generics
`#![feature(const_generics)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Centril
added
A-const-generics
Area: const generics (parameters and arguments)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Jul 9, 2019
cc @davidtwco |
Centril
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Jul 9, 2019
Centril
added
requires-nightly
This issue requires a nightly compiler in some way.
F-const_generics
`#![feature(const_generics)]`
labels
Aug 6, 2019
I think this is another instance of #43408. However, we can leave this issue open to remember to add a test case when it's fixed. |
The original issue no longer ICEs and instead errors with:
which is essentially correct. However, providing the type annotations produces a new ICE:
|
ICEStack trace
|
Now ICE no longer occurs. I think it's fixed by #69859. |
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
Mar 12, 2020
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 13, 2020
Add more regression tests Closes rust-lang#58490, closes rust-lang#60390, closes rust-lang#62504, closes rust-lang#67739, closes rust-lang#69092 r? @Centril
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-const-generics
Area: const generics (parameters and arguments)
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.
F-const_generics
`#![feature(const_generics)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When executed in the playground:
Compiler output
EDIT: Here's the updated playground link and the new stack trace as of Jan 7, 2020:
Compiler output
The text was updated successfully, but these errors were encountered: