Tracking caller on DataError
construction
#4048
Labels
blocked
A dependency must be resolved before this is actionable
C-data-infra
Component: provider, datagen, fallback, adapters
good first issue
Good for newcomers
Milestone
It would be very useful to store a
core::panic::Location
inside theDataError
. Currently panicking is much more ergonomic than usingDataError
, because withDataError
you only get the location where the error is unwrapped and have to chase down the error message, which often is not a pure literal.This is currently blocked on rust-lang/rust#76156, as our error constructors are
const
andcore::panic::Location::caller()
is not yet.The text was updated successfully, but these errors were encountered: