Skip to content

Tracking Issue for const_fn_trait_bound #93706

Closed
@PatchMixolydic

Description

@PatchMixolydic
Contributor

This is a tracking issue for trait bounds on const fns. The feature gate for the issue is #![feature(const_fn_trait_bound)]. This is not to be confused with the "trait impl must be const in const contexts" syntax, ~const Trait, which is a part of const_trait_impl and is tracked in #67792.

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

Implementation history

@rustbot modify labels +A-const-fn +A-traits

Activity

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
on Feb 6, 2022
added 3 commits that reference this issue on Feb 6, 2022

Rollup merge of rust-lang#93682 - PatchMixolydic:where-in-the-world-i…

533bd38

Rollup merge of rust-lang#93682 - PatchMixolydic:where-in-the-world-i…

8e3d04f

Rollup merge of rust-lang#93682 - PatchMixolydic:where-in-the-world-i…

ee1740b
added 2 commits that reference this issue on Feb 7, 2022

Rollup merge of rust-lang#93682 - PatchMixolydic:where-in-the-world-i…

32df274

Rollup merge of rust-lang#93682 - PatchMixolydic:where-in-the-world-i…

f4377a8
fee1-dead

fee1-dead commented on Feb 7, 2022

@fee1-dead
Member

cc @rust-lang/wg-const-eval: Should we remove this feature because of #90912?

oli-obk

oli-obk commented on Feb 7, 2022

@oli-obk
Contributor

Yes, together with function pointers and trait objects. We just need a stabilization PR and a summary for the lang team

eholk

eholk commented on Feb 11, 2022

@eholk
Contributor

I have a stabilization PR at #93827 and a documentation PR now at rust-lang/reference#1166.

added a commit that references this issue on Mar 7, 2022

Rollup merge of rust-lang#93827 - eholk:stabilize-const_fn-features, …

9d7166c

27 remaining items

Loading
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, ...)A-trait-systemArea: Trait systemC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @eholk@RalfJung@oli-obk@jplatte@jhpratt

        Issue actions

          Tracking Issue for `const_fn_trait_bound` · Issue #93706 · rust-lang/rust