Tracking Issue for const Clone (original) (raw)

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

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html