rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.01k stars 12.79k forks source link

Tracking Issue for `io::const_error!` #133448

Open joboet opened 4 days ago

joboet commented 4 days ago

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