-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Generic Pointer to Field #2708
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
Closed
Closed
Generic Pointer to Field #2708
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a458996
first draft of pointer to fields
RustyYato 7eb7ea4
added to the drawbacks and later sections
RustyYato 7ada603
expanded up reference level explanation
RustyYato 6a9405f
updated formatting and added reference to InitPtr
RustyYato 9b98d97
updated parts about field types, updated drawbacks
RustyYato b816798
added note about the `Copy` trait.
RustyYato 0eb3d5c
added unsafe to `Field` trait
RustyYato 9d82646
added unresolved question: minimizing proposal
RustyYato a1b545e
Added `?Sized` bounds
RustyYato 8b5e4e2
added some details abot field types
RustyYato 14fc49f
reworked the RFC's presentation
RustyYato d3cac45
fixed the pin-projection example in guid-level
RustyYato d001442
fixed typo
RustyYato d671633
removed `trait Project` and `trait PinProjectable`
RustyYato 08d9ec2
added inverse projections
RustyYato 00de06a
updated motivation
RustyYato 43d559b
reason for removing `Project` and `PinProjectable`
RustyYato 7c5161a
merge
RustyYato a83911c
moved from `std` to `core`
RustyYato 6da5da2
Update text/0000-ptr-to-field.md
RustyYato 97e2a7f
Update text/0000-ptr-to-field.md
RustyYato 9d78b37
updated wording based off of @CAD97's suggestions
RustyYato f362e75
Merge branch 'ptr-to-field' of https://github.com/KrishnaSannasi/rfcs…
RustyYato dece0b1
editted note about pointer metadata
RustyYato 2e77eef
Update text/0000-ptr-to-field.md
RustyYato e0e7e80
Apply suggestions from code review
RustyYato da3afb6
Some more changes from @CAD97's review
RustyYato 21cf26b
added note about enum variants as types
RustyYato 6b31b65
Merge branch 'ptr-to-field' of https://github.com/KrishnaSannasi/rfcs…
RustyYato 00b4d4b
fixed inverse projecting UB examples
RustyYato File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
added note about the
Copy trait.
- Loading branch information
commit b81679892c6031e68ef959ebdece2a99dca54999
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.