Add new unstable API downcast to std::io::Error by NobodyXu · Pull Request #98387 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation23 Commits8 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

NobodyXu

@NobodyXu

that accepts ErrorData<Box<Custom>>

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@NobodyXu

that accepts ErrorData<Box<Custom>>

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@NobodyXu

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@NobodyXu

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@rustbot rustbot added the T-libs

Relevant to the library team, which will review and decide on the PR/issue.

label

Jun 22, 2022

@rust-highfive

Hey! It looks like you've submitted a new PR for the library teams!

If this PR contains changes to any rust-lang/rust public library APIs then please comment with @rustbot label +T-libs-api -T-libs to tag it appropriately. If this PR contains changes to any unstable APIs please edit the PR description to add a link to the relevant API Change Proposal or create one if you haven't already. If you're unsure where your change falls no worries, just leave it as is and the reviewer will take a look and make a decision to forward on if necessary.

Examples of T-libs-api changes:

@rust-highfive

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.

@NobodyXu

@rustbot rustbot added T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.

and removed T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Jun 22, 2022

thomcc

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)

@NobodyXu

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@NobodyXu

Emmm, the CI failed at downloading some tools using curl...

@joshtriplett

@thomcc

@joshtriplett I wrote most of the current io::Error implementation (and I think @yaahc is on vacation), so I'm probably fine as an impl reviewer for this (unless this is part of the new process for API review?).

@rust-log-analyzer

This comment has been minimized.

@joshtriplett

@thomcc No problem; I just tend to bring error-related API review to @yaahc's attention.

@NobodyXu

@thomcc Pinging this PR as it has been stale for 17 days.

@yaahc

Reviewing now, thank you for the ping.

edit: left a comment on the ACP issue

@NobodyXu

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

@rustbot

Hey! It looks like you've submitted a new PR for the library teams!

If this PR contains changes to any rust-lang/rust public library APIs then please comment with @rustbot label +T-libs-api -T-libs to tag it appropriately. If this PR contains changes to any unstable APIs please edit the PR description to add a link to the relevant API Change Proposal or create one if you haven't already. If you're unsure where your change falls no worries, just leave it as is and the reviewer will take a look and make a decision to forward on if necessary.

Examples of T-libs-api changes:

yaahc

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.

@NobodyXu @yaahc

Co-authored-by: Jane Losare-Lusby jlusby42@gmail.com

@NobodyXu NobodyXu changed the titleAdd new unstable API try_downcast_inner to std::io::Error Add new unstable API downcast to std::io::Error

Jul 15, 2022

@NobodyXu

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.

I've added the tracking issue in #99262

yaahc

@yaahc

@yaahc

looks great, thank you again!

@bors r+

@bors

📌 Commit 8e8a3be has been approved by yaahc

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jul 15, 2022

JohnTitor added a commit to JohnTitor/rust that referenced this pull request

Jul 16, 2022

@JohnTitor

…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

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jul 16, 2022

@bors

@NobodyXu NobodyXu deleted the feature/std_io_Error_try_downgrade_inner branch

July 17, 2022 01:54

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.