Skip to content

Some papercuts on error::Error - #100955

Merged
bors merged 3 commits into
rust-lang:masterfrom
nrc:chain
Aug 28, 2022
Merged

Some papercuts on error::Error#100955
bors merged 3 commits into
rust-lang:masterfrom
nrc:chain

Conversation

@nrc

@nrc nrc commented Aug 24, 2022

Copy link
Copy Markdown
Member

Renames the chain method, since I chain could mean anything and doesn't refer to a chain of sources (cc #58520) (and adds a comment explaining why sources is not a provided method on Error). Renames arguments to the request method from req to demand since the type is Demand rather than Request or Requisition.

r? @yaahc

@rustbot rustbot added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Aug 24, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 24, 2022
nrc added 2 commits August 24, 2022 15:35
Signed-off-by: Nick Cameron <nrc@ncameron.org>
Signed-off-by: Nick Cameron <nrc@ncameron.org>
Comment thread library/core/src/error.rs Outdated
@joshtriplett joshtriplett added T-libs-api [DEPRECATED; DO NOT USE] I-libs-api-nominated [DEPRECATED; DO NOT USE] and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 24, 2022
@yaahc

yaahc commented Aug 24, 2022

Copy link
Copy Markdown
Member

while you're already editing this file, would you mind removing the comment near the top describing why the error trait hadn't been moved to core previously, it is no longer relevant ^_^

Signed-off-by: Nick Cameron <nrc@ncameron.org>
@nrc

nrc commented Aug 25, 2022

Copy link
Copy Markdown
Member Author

Comments removed as requested

@joshtriplett

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Aug 27, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 9372c4f has been approved by joshtriplett

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 Aug 27, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 28, 2022
Some papercuts on error::Error

Renames the chain method, since I chain could mean anything and doesn't refer to a chain of sources (cc rust-lang#58520) (and adds a comment explaining why sources is not a provided method on Error). Renames arguments to the request method from `req` to `demand` since the type is `Demand` rather than Request or Requisition.

r? `@yaahc`
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 28, 2022
…iaskrgr

Rollup of 13 pull requests

Successful merges:

 - rust-lang#97015 (std::io: migrate ReadBuf to BorrowBuf/BorrowCursor)
 - rust-lang#98301 (Add GDB/LLDB pretty-printers for NonZero types)
 - rust-lang#99570 (Box::from(slice): Clarify that contents are copied)
 - rust-lang#100296 (Add standard C error function aliases to last_os_error)
 - rust-lang#100520 (Add mention of `BufReader` in `Read::bytes` docs)
 - rust-lang#100885 (Export Cancel from std::os::fortanix_sgx::usercalls::raw)
 - rust-lang#100955 (Some papercuts on error::Error)
 - rust-lang#101002 (Provide structured suggestion for `hashmap[idx] = val`)
 - rust-lang#101038 (no alignment check during interning)
 - rust-lang#101055 (Use smaller span for suggestions)
 - rust-lang#101091 (Extend attrs if local_def_id exists)
 - rust-lang#101098 (rustc_middle: Remove `Visibility::Invisible`)
 - rust-lang#101102 (unstable-book-gen: use std::fs::write)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit edd81d1 into rust-lang:master Aug 28, 2022
@rustbot rustbot added this to the 1.65.0 milestone Aug 28, 2022
parasyte added a commit to parasyte/error-iter that referenced this pull request Oct 2, 2022
- Renames `chain` to `sources` following rust-lang/rust#100955
parasyte added a commit to parasyte/error-iter that referenced this pull request Oct 2, 2022
- Renames `chain` to `sources` following rust-lang/rust#100955
@dtolnay dtolnay removed the I-libs-api-nominated [DEPRECATED; DO NOT USE] label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api [DEPRECATED; DO NOT USE]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants