This is a tracking issue for removing impl const and ~const in the standard library. This is carried out so that migrating to a new implementation under keyword generics can go more smoothly. See this Zulip thread for discussion around this operation.
For temporary preview of the effects rewrite, add feature(effects) to your crate code. Most bugs/misbehaviors are known so consider opening a thread on the project-const-traits stream on Zulip before opening an issue.
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
This is a tracking issue for removing
impl constand~constin the standard library. This is carried out so that migrating to a new implementation under keyword generics can go more smoothly. See this Zulip thread for discussion around this operation.For temporary preview of the effects rewrite, add
feature(effects)to your crate code. Most bugs/misbehaviors are known so consider opening a thread on the project-const-traits stream on Zulip before opening an issue.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
constnessfromParamEnv#114134constnessfromTraitPredicate#114202ImplSource::Param#114781~const Traitbounds via a fourth kind of generic param #101900).hostparam in diagnostics #114203impl constto bind to host effect param #114545~consttrait bounds on associated functions are in const traits or impls #116210~constbounds with a non-const one in effects desugaring #116756~consttrait bounds #117817SpantoTraitBoundModifier#118245enforce_context_effectsfor all method calls #118282Derefargs when#[const_trait]is enabled #118386#[rustc_host], use internal desugaring #118605Add#120381feature(effects)) from stdlib #126552