Skip to content

Tracking issue for impl Trait in const and static items and let bindings #63065

Open
@Centril

Description

@Centril

As provided for by rust-lang/rfcs#2071, this is a tracking issue for impl Trait in:

  • const items
  • static items
  • let bindings

Steps:

Unresolved questions:

  • Should the part about let bindings be recast more generally to be about coercions? This would allow foo as impl Debug and foo: impl Debug as well.

Blocking issues:

Incomplete. Search the F-impl_trait_in_bindings issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCF-impl_trait_in_bindings`#![feature(impl_trait_in_bindings)]`S-tracking-impl-incompleteStatus: The implementation is incomplete.T-langRelevant to the language team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions