-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Tracking Issue for io::const_error!
#133448
Comments
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
std: expose `const_io_error!` as `const_error!` ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448 Probably best reviewed commit-by-commit, the first one does the API change, the second does the mass-rename.
std: expose `const_io_error!` as `const_error!` ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448 Probably best reviewed commit-by-commit, the first one does the API change, the second does the mass-rename.
Rollup merge of rust-lang#133449 - joboet:io_const_error, r=tgross35 std: expose `const_io_error!` as `const_error!` ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448 Probably best reviewed commit-by-commit, the first one does the API change, the second does the mass-rename.
Is there any particular reason why this is a macro instead of a |
Footnotes
|
I see, the main issue is that you can't guarantee that your const structure is static without it. Fair enough! |
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
ACP: rust-lang/libs-team#205 Tracking issue: rust-lang#133448
Feature gate:
#![feature(io_const_error)]
This is a tracking issue for
const_error!
, a macro to createio::Error
s from a string literal without allocating.Public API
Steps / History
SimpleMessage
struct and allow creatingstd::io::Error
s with them libs-team#205Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: