ICE: 'cannot copy unsized immediates' creating Box of trait object with generics #102553
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.
While
cargo check
succeeds without warnings,cargo build
fails on nightly on this code.On stable 1.64.0, both checking and building succeed without warnings.
Code (playground)
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: