-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Can't derive Copy for structs containing arrays #24288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
No shit. Then why doesn't |
Because |
However you do bring up a good point with that |
Looks like you found the solution: Change derive to be able to do this. |
@mahkoh You raise a legitimate issue, but you need to watch your language and tone of voice. The way you've written your ticket and replies is unnecessarily rude, and this isn't an isolated incident. |
@mahkoh Hey, we can solve this problem without being rude about it. This is an annoying wart, for sure, but it's not the end of the world, and it will get fixed. |
@mahkoh Sorry about all the people that decided to take over this issue to point out your rudeness. (You should still try to be nicer to people in the community though, so people wouldn't have to complain.) |
@retep998 that's one reason why rudeness is so bad: it's a distraction from the technical point at hand. |
Then that should solve the problem. |
Since Copy: Clone and arrays implement Copy but not Clone.
Whose bright idea was it to have a language item depend on an arbitrary trait?
The text was updated successfully, but these errors were encountered: