-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
ICE: assertion left == right failed in rustc_const_eval/src/interpret/cast.rs unsize_into #126982
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-coerce_unsizedThe `CoerceUnsized` traitThe `CoerceUnsized` traitI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-coerce_unsizedThe `CoerceUnsized` traitThe `CoerceUnsized` traitI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Meta
rustc --version --verbose:Error output
Backtrace
Note
compiler/rustc_const_eval/src/interpret/cast.rs#L442rust/compiler/rustc_const_eval/src/interpret/cast.rs
Lines 431 to 442 in fda509e
unsize_into: invalid conversioninrustc_const_eval/src/interpret/cast.rs#126269 might be related@rustbot label +F-coerce_unsized