Open
Description
As provided for by rust-lang/rfcs#2071, this is a tracking issue for impl Trait
in:
const
itemsstatic
itemslet
bindings
Steps:
- Implement the RFC
- Adjust documentation (see instructions on rustc-guide)
- Stabilization PR (see instructions on rustc-guide)
Unresolved questions:
- Should the part about
let
bindings be recast more generally to be about coercions? This would allowfoo as impl Debug
andfoo: impl Debug
as well.
Blocking issues:
Incomplete. Search the F-impl_trait_in_bindings
issue.
Metadata
Metadata
Assignees
Labels
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Blocker: Approved by a merged RFC but not yet implemented.Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(impl_trait_in_bindings)]`Status: The implementation is incomplete.Relevant to the language team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.