Feature gate: #![feature(const_exposed_provenance)]
This is a tracking issue for calling with_exposed_provenance in const fn.
Public API
// core::ptr
pub const fn with_exposed_provenance<T>(addr: usize) -> *const T;
pub const fn with_exposed_provenance_mut<T>(addr: usize) -> *mut T;
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Cc @rust-lang/wg-const-eval
Feature gate:
#![feature(const_exposed_provenance)]This is a tracking issue for calling
with_exposed_provenanceinconst fn.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)const_exposed_provenancefeature #145462Unresolved Questions
Cc @rust-lang/wg-const-eval
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩