Feature gate: #![feature(const_clone)]
This is a tracking issue for making Clone a #[const_trait].
Public API
This should not change the public API.
Private API
This feature is not going to be stable for a long time. Instead it is mostly for internal use to facilitate other const implementations (e.g. #137843).
Care should be taken by those implementations to not inadvertently leak const Clone prior to stabilization.
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(const_clone)]This is a tracking issue for making
Clonea#[const_trait].Public API
This should not change the public API.
Private API
This feature is not going to be stable for a long time. Instead it is mostly for internal use to facilitate other
constimplementations (e.g. #137843).Care should be taken by those implementations to not inadvertently leak
const Cloneprior to stabilization.Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Cloneaconst_trait#142756Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩