[_; 33]
implements Copy
, but not Clone
#40796
Labels
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.
From https://www.reddit.com/r/rust/comments/616rc8/rcpp_discusses_rust/dfcjk09/
The following code:
Causes the following crash in playpen, due to
[T; 33]
(whereT: Copy
) implementingCopy
, but notClone
, butCopy
trait requiringClone
implementation.The text was updated successfully, but these errors were encountered: