Closed
Description
This allows argument and return position impl Trait
in the signature of a const fn
. It also allows impl Trait
in other const-contexts, although this is only possible with additional feature gates (see #63065).
Formerly, this was gated under #![feature(const_fn)]
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
impl Trait
in aconst fn
its own feature gate #77464[-]Tracking Issue for `#![feature(const_fn_impl_trait)]`[/-][+]Tracking Issue for `#![feature(const_impl_trait)]`[/+]Auto merge of rust-lang#77464 - ecstatic-morse:const-fn-impl-trait, r…
jhpratt commentedon May 25, 2021
What are the blockers on this?
memoryruins commentedon Apr 11, 2022
This was stabilized last month in #93827 and will likely be in the next release, 1.61.
pnkfelix commentedon Oct 21, 2022
This is done! Closing.