ICE on rust 1.65.0, thread 'rustc' panicked at 'assertion failed: key.param_env.is_const()', compiler/rustc_const_eval/src/const_eval/eval_queries.rs:270:5 #111498
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is probably old news, but I was not entirely sure. For good measures I submit the issue, and it could be closed if so.
I see this error when compiling a crate called argminmax with rust 1.65.0 . Any other version or opt-level<2 does not give an error.
I apologize for not making error more containted, but I was not able to pick a part the crate and reproduce the error.
Code
Meta
Only present in rust 1.65.0 with opt-level=2 and above.
Found on linux and darwin
rustc --version --verbose
:Error output
See also a full error log here here:
The text was updated successfully, but these errors were encountered: