[ICE]: Querying attributes on a constant expression causes assertion failure #128145
Closed
1 of 4 tasks
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.
I query attributes for any
DefId
that has a body. Upgrading to the latest nightly version is panicking because a constant expression that is not present in the attributes table is being queried.Affected release channels
Rust Version
Current error output
Backtrace
Anything else?
The
DefId
that was given to it:The text was updated successfully, but these errors were encountered: