ICE: "Missing value for constant, but no error reported?" with unresolvabe const due to trivial bounds #135617
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
F-trivial_bounds
`#![feature(trivial_bounds)]`
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.
Code
playground
Rust Version
`rustc +nightly --version --verbose`: rustc 1.86.0-nightly (99db2737c 2025-01-16) binary: rustc commit-hash: 99db2737c91d1e4b36b2ffc17dcda5878bcae625 commit-date: 2025-01-16 host: x86_64-unknown-linux-gnu release: 1.86.0-nightly LLVM version: 19.1.7
Current error output
Backtrace
Anything else?
This error was found during this PR, in the addition of
TooGeneric
asLayoutError
.Updates on this issue will be added later if found.
cc: @lukas-code
The text was updated successfully, but these errors were encountered: