-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-error-handlingArea: Error handlingArea: Error handlingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on th
BE70
e team's project board.PG-error-handlingProject group: Error handling (https://github.com/rust-lang/project-error-handling)Project group: Error handling (https://github.com/rust-lang/project-error-handling)T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
This is a tracking issue for the RFC "Fix the Error trait" (rust-lang/rfcs#2504).
Steps:
- Implement the RFC (cc @rust-lang/libs)
-
source
method Add Error::source method per RFC 2504. #53533 - Backtrace API std: Add a
backtrace
module #64154
-
-
Implement proof of concept showing stabilizingbacktrace
method won't prevent movingError
intocore
later Start working on proof of concept for exposing Backtrace in core #77384 - Fix std::backtrace::Backtrace's fmt representations
Precision flag support Formatting of std::backtrace::Backtrace #65280this is non-blocking for stabilization- Differences with
panic!
backtraces Backtrace rendering inconsistent betweenstd::backtrace
and panics #71706
- Adjust documentation (see instructions on forge)
- Stabilization PR (see instructions on forge)
Unresolved questions:
- The choice to implement nullability internal to backtrace may prove to be a mistake: during the period when backtrace APIs are only available on nightly, we will gain more experience and possible change backtrace's constructors to return an
Option<Backtrace>
instead.
Current status:
awulkan, rofrol, samuela, Kogia-sima, FlorentinDUBOIS and 67 moreTerkwood, seamlik, vultix, aldanor, Roba1993 and 21 morequininer, slanterns, lambda-fairy, pythoneer, ElectricCoffee and 52 morerhysd, msrd0, hbobenicio, RobertWHurst, koalp and 9 moreschneiderfelipe
Metadata
Metadata
Assignees
Labels
A-error-handlingArea: Error handlingArea: Error handlingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.PG-error-handlingProject group: Error handling (https://github.com/rust-lang/project-error-handling)Project group: Error handling (https://github.com/rust-lang/project-error-handling)T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.