Open
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:
- Permit
type Foo = impl Bar;
. Tracking issue for RFC 2515, "Permit impl Trait in type aliases" #63063- Permit
type Foo = impl Bar;
intrait
definitions. Tracking issue for RFC 2532, "Associated type defaults" #29661
Inconst
andstatic
items andlet
bindings. Tracking issue forimpl Trait
inconst
andstatic
items andlet
bindings #63065Member constraints in region inference: Tracking issue for member constraints in region inference #61997Existential lifetimes. Tracking issue for existential lifetimes #60670Support lifetime elision in argument position. Argument-positionimpl Trait
requires a named lifetime #49287Should we allowimpl Trait
after->
infn
types or parentheses sugar? [impl Trait] Should we allowimpl Trait
after->
infn
types or parentheses sugar? #45994Do we have to impose a DAG across all functions to allow for auto-safe leakage, or can we use some kind of deferral.- Present semantics: DAG.
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 Trait
as arguments in the list, permitting migration]
Open RFCs:
None.
Metadata
Metadata
Assignees
Labels
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Category: An issue tracking the progress of sth. like the implementation of an RFCStatus: The implementation is incomplete.Relevant to the compiler team, which will review and decide on the PR/issue.Relevant to the language teamIssues about issues themselves ("bugs about bugs")
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
impl Trait
(RFC 1522, RFC 1951, RFC 2071) #34511async fn
in trait methods (async/await follow-up) rust-lang/rfcs#2739kevincox commentedon Oct 16, 2019
#65481 Allow
impl Trait
in trait method return values.sighoya commentedon Nov 17, 2019
Aaron1011 commentedon Nov 17, 2019
CryZe commentedon Nov 17, 2019
sighoya commentedon Nov 17, 2019
mark-i-m commentedon Nov 17, 2019
28 remaining items