ICE: Compiler incorrectly assumes a Copy
bound is met for a type.
#119915
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 ICEs on both the latest beta and the latest nightly with the same error.
stable is not affected.
I'm not quite sure what the name of the issue should be so sorry for the bad description.
I tried to comment the code on what seems to be causing the problem however.
Code
The minimal reproduction code is also here in the playground.
https://play.rust-lang.org/?version=beta&mode=debug&edition=2021&gist=3f34d3bdda874425b1333311501e54e2
Meta
rustc --version --verbose
:beta:
nightly:
Error output
Backtrace
beta backtrace:
beta-ice-backtrace.txt
nightly backtrace:
rustc-ice-2024-01-13T04_35_40-20512.txt
The text was updated successfully, but these errors were encountered: