Skip to content
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

Derive struct with raw pointer #39570

Closed
Yamakaky opened this issue Feb 5, 2017 · 2 comments
Closed

Derive struct with raw pointer #39570

Yamakaky opened this issue Feb 5, 2017 · 2 comments

Comments

@Yamakaky
Copy link
Contributor

Yamakaky commented Feb 5, 2017

https://play.rust-lang.org/?gist=cb119b5471f3c484d249d7d67b643671&version=stable&backtrace=1

*mut T implementation of Clone doesn't require T: Clone, but the compiler seems to treat it like &mut T. Same thing for Debug, Copy...

@tbu-
Copy link
Contributor

tbu- commented Feb 5, 2017

Seems to be #26925.

@Yamakaky
Copy link
Contributor Author

Yamakaky commented Feb 5, 2017

Thanks

@Yamakaky Yamakaky closed this as completed Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants