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
Feature gate:
#![feature(io_const_error)]This is a tracking issue for
const_error!, a macro to createio::Errors from a string literal without allocating.Public API
Steps / History
SimpleMessagestruct and allow creatingstd::io::Errors with them libs-team#205Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩