-
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 with const_evaluatable_checked: unable to compare const generics array #79518
Labels
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
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
@rustbot claim |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Feb 15, 2021
const_generics: Dont evaluate array length const when handling errors Fixes rust-lang#79518 Fixes rust-lang#78246 cc `@lcnr` This was ICE'ing because we dont pass in the correct ``ParamEnv`` which meant that there was no ``Self: Foo`` predicate to make ``Self::Assoc`` well formed which caused an ICE when trying to normalize ``Self::Assoc`` in the mir interpreter r? `@varkor`
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Feb 15, 2021
const_generics: Dont evaluate array length const when handling errors Fixes rust-lang#79518 Fixes rust-lang#78246 cc ``@lcnr`` This was ICE'ing because we dont pass in the correct ``ParamEnv`` which meant that there was no ``Self: Foo`` predicate to make ``Self::Assoc`` well formed which caused an ICE when trying to normalize ``Self::Assoc`` in the mir interpreter r? ``@varkor``
@BoxyUwU It doesn't fixed in rustc 1.52.0-nightly (5fa22fe 2021-02-14) Backtrace
|
i dont think the fix was merged by then. it works in 1.52.0-nightly 2021-02-16 :) |
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.
F-const_generics
`#![feature(const_generics)]`
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
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.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: