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

Closed
4 tasks done
sskyblue1010 opened this issue Jan 14, 2025 · 0 comments
Closed
4 tasks done

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

sskyblue1010 opened this issue Jan 14, 2025 · 0 comments

Comments

@sskyblue1010
Copy link
Owner

sskyblue1010 commented Jan 14, 2025

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

@sskyblue1010 sskyblue1010 pinned this issue Jan 14, 2025
# 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