-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Labels
C-data-infraComponent: provider, datagen, fallback, adaptersComponent: provider, datagen, fallback, adaptersblockedA dependency must be resolved before this is actionableA dependency must be resolved before this is actionablegood first issueGood for newcomersGood for newcomers
Milestone
Description
It would be very useful to store a core::panic::Location inside the DataError. Currently panicking is much more ergonomic than using DataError, because with DataError 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 and core::panic::Location::caller() is not yet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-data-infraComponent: provider, datagen, fallback, adaptersComponent: provider, datagen, fallback, adaptersblockedA dependency must be resolved before this is actionableA dependency must be resolved before this is actionablegood first issueGood for newcomersGood for newcomers