Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for const_arguments_as_str #103900

Open
2 of 4 tasks
ghost opened this issue Nov 2, 2022 · 0 comments
Open
2 of 4 tasks

Tracking Issue for const_arguments_as_str #103900

ghost opened this issue Nov 2, 2022 · 0 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@ghost
Copy link

ghost commented Nov 2, 2022

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

  • None yet.

Footnotes

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

@ghost ghost added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Nov 2, 2022
JohnTitor pushed a commit to JohnTitor/rust that referenced this issue Nov 20, 2022
…-issue, r=the8472

Add tracking issue for `const_arguments_as_str`

Tracking issue: rust-lang#103900

The original PR didn't create a tracking issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

0 participants