-
Notifications
You must be signed in to change notification settings - Fork 14k
Open
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language teamRelevant to the language teammetabugIssues about issues themselves ("bugs about bugs")Issues about issues themselves ("bugs about bugs")
Description
This issue tracks the progress of impl Trait in general.
This issue is not for discussion about specific extensions to impl Trait and only exists to provide links to other places that track the progress of specific issues. If you wish to discuss some subject related to impl Trait, please find an existing appropriate issue below or create an new issue and comment here with a link to the newly created issue.
The impl Trait related issues currently on deck are as follows:
- Label
A-impl-trait - Permit
type Foo = impl Bar;. Tracking issue for RFC 2515, "Permit impl Trait in type aliases" #63063- Permit
type Foo = impl Bar;intraitdefinitions. Tracking issue for RFC 2532, "Associated type defaults" #29661
- Permit
- In
constandstaticitems andletbindings. Tracking issue forimpl Traitinconstandstaticitems andletbindings #63065 - Member constraints in region inference: Tracking issue for member constraints in region inference #61997
- Existential lifetimes. Tracking issue for existential lifetimes #60670
- Support lifetime elision in argument position. Argument-position
impl Traitrequires a named lifetime #49287 - Should we allow
impl Traitafter->infntypes or parentheses sugar? [impl Trait] Should we allowimpl Traitafter->infntypes or parentheses sugar? #45994 - Do we have to impose a DAG across all functions to allow for auto-safe leakage, or can we use some kind of deferral.
- Discussion: Implement
impl Traitin return type position by anonymization. #35091 (comment) - Present semantics: DAG.
- Discussion: Implement
- Should we permit specifying types if some parameters are implicit and some are explicit? e.g.,
fn foo<T>(x: impl Iterator<Item = T>>)?- Current behavior: An error to specify types
- Other alternatives: [treat
impl Traitas arguments in the list, permitting migration]
- Some concerns about nested impl Trait usage
Open RFCs:
None.
Avi-D-coder, crlf0710, dnrusakov, sachaarbonel, andysalerno and 66 moreschneiderfelipe and ManuelSopenaBallesterosrubik, NeoLegends, hectorj, jgarvin, ahlinc and 5 moreschneiderfelipe, I0x4dI and ManuelSopenaBallesterosschneiderfelipe and ManuelSopenaBallesteros
Metadata
Metadata
Assignees
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language teamRelevant to the language teammetabugIssues about issues themselves ("bugs about bugs")Issues about issues themselves ("bugs about bugs")