Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature gate: #![feature(io_const_error)] #1

Open
1 of 4 tasks
sskyblue1010 opened this issue Jan 25, 2025 · 0 comments
Open
1 of 4 tasks

Feature gate: #![feature(io_const_error)] #1

sskyblue1010 opened this issue Jan 25, 2025 · 0 comments

Comments

@sskyblue1010
Copy link
Contributor

Feature gate: #![feature(io_const_error)]

This is a tracking issue for const_error!, a macro to create io::Errors from a string literal without allocating.

Public API

// std::io

macro const_error($kind:expr, $message:expr $(,)?) { ... }

Steps / History

Unresolved Questions

  • None yet.

Originally posted by @joboet in rust-lang/rust#133448

Footnotes

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant