-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Add the unsized keyword #12969
Comments
@nick29581 I've added this bug to the list of |
bors
added a commit
that referenced
this issue
Apr 23, 2014
Now with proper checking of enums and allows unsized fields as the last field in a struct or variant. This PR only checks passing of unsized types and distinguishing them from sized ones. To be safe we also need to control storage. Closes issues #12969 and #13121, supersedes #13375 (all the discussion there is valid here too).
@nick29581 Is this done with 696f16e merged? |
Yes, it is (although we are going with a totally different syntax which is still to do) |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 11, 2024
…ednet Fix some false-positive cases of `explicit_auto_deref` changelog: [`explicit_auto_deref`] Fix some false-positive cases Fix part of rust-lang#9841 Fix rust-lang#12969 r? xFrednet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add an
unsized
keyword which can be used on traits and trait bounds. It should be feature gated and we might change the keyword later (type
has been suggested). We will compute the 'sized'-ness of every type and ensure compatibility of types.Blocks #12938
Assigned to me.
The text was updated successfully, but these errors were encountered: