Feature gate: #![feature(const_arguments_as_str)]
This is a tracking issue for const fmt::Arguments::as_str.
Note that the original PR didn't create a tracking issue.
Public API
// core::fmt
impl<'a> Arguments<'a> {
#[stable(feature = "fmt_as_str", since = "1.52.0")]
#[rustc_const_unstable(feature = "const_arguments_as_str", issue = "103900")]
pub const fn as_str(&self) -> Option<&'static str>;
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(const_arguments_as_str)]This is a tracking issue for const
fmt::Arguments::as_str.Note that the original PR didn't create a tracking issue.
Public API
Steps / History
fmt::Arguments::as_strunstably const #86655const_arguments_as_str#103901Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩