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
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 beconstin const contexts" syntax,~const Trait, which is a part ofconst_trait_impland 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
const_fn_trait_boundwas split fromconst_fnin further split up const_fn feature flag #84310)Unresolved Questions
Implementation history
const_fn_trait_boundinto its own feature gate@rustbot modify labels +A-const-fn +A-traits