ICE: assertion failed: layout.is_sized()
with feature(adt_const_params)
#137582
Labels
C-bug
Category: This is a bug.
F-adt_const_params
`#![feature(adt_const_params)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Original Code (Mutant from Fuzzing)
Meta
rustc --version --verbose
:Error output
Backtrace
Note
compiler/rustc_const_eval/src/const_eval/eval_queries.rs Line-49
rust/compiler/rustc_const_eval/src/const_eval/eval_queries.rs
Lines 48 to 49 in 617aad8
Similar Issues
I can find three open issues with
layout.is_sized()
query.assertion failed: layout.is_sized()
#137186: It points to the same ICE location, but that has different query stack or feature.assertion failed: layout.is_sized()
withfeature(associated_const_equality)
#127643: It points to the same ICE location & similar query stack, but requires different feature.-Zextra-const-ub-checks
option to trigger ICE, and has different query stack.@rustbot label +F-adt_const_params
The text was updated successfully, but these errors were encountered: