-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Add core::panic::Location::{end_line,end_column}? #73554
Copy link
Copy link
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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
Method chains no longer share a single span, which makes the location reported by Location::caller() much more useful when chaining unwraps. The next step to improve their fidelity will be to allow Location to encode the "end span" of a call, and to expose that to users somehow. Probably in the Debug/Display impls to start.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.