Skip to content

Tracking Issue for #![feature(const_impl_trait)] #77463

Closed
@ecstatic-morse

Description

@ecstatic-morse
Contributor

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)].

Activity

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
B-unstableBlocker: Implemented in the nightly compiler and unstable.
on Oct 2, 2020
changed the title [-]Tracking Issue for `#![feature(const_fn_impl_trait)]`[/-] [+]Tracking Issue for `#![feature(const_impl_trait)]`[/+] on Oct 7, 2020
added a commit that references this issue on Oct 7, 2020

Auto merge of rust-lang#77464 - ecstatic-morse:const-fn-impl-trait, r…

jhpratt

jhpratt commented on May 25, 2021

@jhpratt
Member

What are the blockers on this?

memoryruins

memoryruins commented on Apr 11, 2022

@memoryruins
Contributor

This was stabilized last month in #93827 and will likely be in the next release, 1.61.

pnkfelix

pnkfelix commented on Oct 21, 2022

@pnkfelix
Member

This is done! Closing.

added
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)
on Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pnkfelix@RalfJung@jhpratt@memoryruins@ecstatic-morse

        Issue actions

          Tracking Issue for `#![feature(const_impl_trait)]` · Issue #77463 · rust-lang/rust