-
Notifications
You must be signed in to change notification settings - Fork 1.6k
RFC: Implementable trait aliases #3437
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
Open
Jules-Bertholet
wants to merge
45
commits into
rust-lang:master
Choose a base branch
from
Jules-Bertholet:implementable-trait-alias
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
5ef6311
RFC: Implementable trait aliases
Jules-Bertholet af7b7ea
Fix wording
Jules-Bertholet 6b36635
Discuss `#[implementable]` in more detail
Jules-Bertholet 5aa3827
Add future possibility syntax
Jules-Bertholet cd871e0
Support fully-qualified method call syntax
Jules-Bertholet 5d1080a
Allow implementable aliases in paths more generally
Jules-Bertholet 13a9c18
Add discussion of "unioning" traits
Jules-Bertholet 1b32952
Fix typos
Jules-Bertholet f03d3b9
Expand alternatives, fix implementability rules hole
Jules-Bertholet d2603ab
Add words about associated type bounds
Jules-Bertholet 1e235ff
Fix typo
Jules-Bertholet 6c22c39
Address biggest comments from design meeting
Jules-Bertholet 149b016
Update motivation to reflect current state of AFIT
Jules-Bertholet 7089998
Correct minor error
Jules-Bertholet c08f2b8
Split one bullet into two
Jules-Bertholet d0c32f3
Alias associated items
Jules-Bertholet 1167e58
Clarify "weak"/"strong"
Jules-Bertholet b027df1
Future possibility: trait alias associated items
Jules-Bertholet 601cc9c
Future possibility: trait aliases constrained by their associated items
Jules-Bertholet 24f15c1
Rewrite AFIT example in terms of `trait-variant`
Jules-Bertholet ef13af9
Reflow
Jules-Bertholet e5c19f0
Major extension
Jules-Bertholet 4879d57
Address comments
Jules-Bertholet 55f34c0
Fix a bug
Jules-Bertholet 5e4b65b
Minor notes
Jules-Bertholet 3933112
Reorder a few paragraphs
Jules-Bertholet 0e73504
No where clauses on alias items
Jules-Bertholet 2cb9aee
Implementable function aliases don't need `extern`
Jules-Bertholet 426324f
Fix typo
Jules-Bertholet a9169d1
Fix more typos
Jules-Bertholet 7d101c2
Const future possibilities
Jules-Bertholet 5fa4230
`LendingIterator`
Jules-Bertholet 20d8ba0
Target features
Jules-Bertholet 5415e73
Remove implementability restrictions on `const` and `type` alias items
Jules-Bertholet 87f86e1
Fix minor mistake in example
Jules-Bertholet f9547f9
Explain why subtrait impls can’t impl supertraits
Jules-Bertholet 381d6d2
Minor changes to rationale & alternatives
Jules-Bertholet 12a086a
`default partial impl` in future possibilities
Jules-Bertholet 990667b
Fix typo
Jules-Bertholet f6c765e
Mention GAT `'static` issue
Jules-Bertholet 82c9db5
Add clarifications and examples for alias items
Jules-Bertholet 59f7333
Minor reword
Jules-Bertholet 63234a9
More minor rephrasings
Jules-Bertholet dc7ea62
Remove redundant section
Jules-Bertholet 6db4f28
Fix minor mistake
Jules-Bertholet 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
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.