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:
- 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;
intrait
definitions. Tracking issue for RFC 2532, "Associated type defaults" #29661
- Permit
- In
const
andstatic
items andlet
bindings. Tracking issue forimpl Trait
inconst
andstatic
items andlet
bindings #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 Trait
requires a named lifetime #49287 - Should we allow
impl Trait
after->
infn
types or parentheses sugar? [impl Trait] Should we allowimpl Trait
after->
infn
types 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 Trait
in 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 Trait
as arguments in the list, permitting migration]
- Some concerns about nested impl Trait usage
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 team, which will review and decide on the PR/issue.Issues about issues themselves ("bugs about bugs")