-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
transmute moved the parameter of "&mut f32" type #87276
Comments
Why do you think it is a bug? Transmute does move the reference. Are you looking for: let dst = v as *mut f32 as *mut u8; ? |
So why |
We often forget that |
@SkiFire13 Thanks for pointing out the concept "coercions". Since Maybe a key word like |
I don't see how |
reproduced code:
the reported error is:
Rust version:
The text was updated successfully, but these errors were encountered: