-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new unstable API downcast
to std::io::Error
#98387
Add new unstable API downcast
to std::io::Error
#98387
Conversation
that accepts `ErrorData<Box<Custom>>` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
that accepts `ErrorData<Box<Custom>>` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @thomcc (or someone else) soon. Please see the contribution instructions for more information. |
@rustbot label +T-libs-api -T-libs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks okay to me, in terms of the impl (but needs API sign off of course)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Emmm, the CI failed at downloading some tools using |
r? @yaahc |
@joshtriplett I wrote most of the current |
This comment has been minimized.
This comment has been minimized.
@thomcc Pinging this PR as it has been stale for 17 days. |
Reviewing now, thank you for the ping. edit: left a comment on the ACP issue |
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should just need a tracking issue then it is good to go IMO. I have only one minor NIT comment that isn't a blocker.
Co-authored-by: Jane Losare-Lusby <jlusby42@gmail.com>
try_downcast_inner
to std::io::Error
downcast
to std::io::Error
I've added the tracking issue in #99262 |
looks great, thank you again! @bors r+ |
…owngrade_inner, r=yaahc Add new unstable API `downcast` to `std::io::Error` rust-lang/libs-team#57 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Rollup of 7 pull requests Successful merges: - rust-lang#98387 (Add new unstable API `downcast` to `std::io::Error`) - rust-lang#98662 (Add std::fs::write documentation precision) - rust-lang#99253 (Remove FIXME from MIR `always_storage_live_locals`) - rust-lang#99264 (Fix typo in mod.rs) - rust-lang#99270 (Add `#[must_use]` to `Box::from_raw`) - rust-lang#99277 (Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends) - rust-lang#99307 (Add regression test for rust-lang#64401) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
rust-lang/libs-team#57
Signed-off-by: Jiahao XU Jiahao_XU@outlook.com