-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 std::error::Report
type
#91938
Add std::error::Report
type
#91938
Conversation
r? @kennytm (rust-highfive has picked a reviewer for you, use r? to override) |
r? @m-ou-se |
Vendoring my most recent comment from the previous PR Almost done resolving the recent round of comments but I have a couple of style questions that came up during the implementation that I could use some input on. First, I want to make sure we have the right level of indentation setup for our multiline errors so they match up nicely with the output of Here's the current version with the changes I made and one source error:
And with 2 or more sources
This is identical to the formatting rules for My preferred version would look like this
and
|
This comment has been minimized.
This comment has been minimized.
The current issues I have with the proposed API, note that I don't think these should block it landing, but I will document them in the tracking issue and want to work towards resolving them.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9da27ba
to
9be1cc9
Compare
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to `@seanchen1991` 's fork
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to ``@seanchen1991`` 's fork
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to ```@seanchen1991``` 's fork
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to ````@seanchen1991```` 's fork
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to `````@seanchen1991````` 's fork
Add `std::error::Report` type This is a continuation of rust-lang#90174, split into a separate PR since I cannot push to ``````@seanchen1991`````` 's fork
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#90001 (Make rlib metadata strip works with MIPSr6 architecture) - rust-lang#91687 (rustdoc: do not emit tuple variant fields if none are documented) - rust-lang#91938 (Add `std::error::Report` type) - rust-lang#92006 (Welcome opaque types into the fold) - rust-lang#92142 ([code coverage] Fix missing dead code in modules that are never called) - rust-lang#92277 (rustc_metadata: Stop passing `CrateMetadataRef` by reference (step 1)) - rust-lang#92334 (rustdoc: Preserve rendering of macro_rules matchers when possible) - rust-lang#92807 (Update cargo) - rust-lang#92832 (Update RELEASES for 1.58.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This is a continuation of #90174, split into a separate PR since I cannot push to @seanchen1991 's fork