-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Shared reference to a fixed length vector in a struct can be cast to a *mut directly #14845
Milestone
Comments
Sounds... interesting? Nominating. |
cc me. |
Assigning P-backcompat-lang, 1.0. (If someone does some investigation and determines this is trickier to fix than hypothesized, we can revisit.) |
Fixed in #14856. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 5, 2023
Add layout info for enum variant and locals The size of enum variant is what rustdoc shows (rust-lang#86263). I also added layout info for locals since it helps finding size of unnameable types like closures inside other structs or impl traits.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
compiles without error. Uncommenting the two similar lines gives the errors I was expecting for
_fixed
:The text was updated successfully, but these errors were encountered: