shepmaster / snafu

Easily assign underlying errors into domain-specific errors while adding context
https://docs.rs/snafu/
Apache License 2.0
1.4k stars 60 forks source link

Do not automatically treat `location` as implicit data #339

Closed shepmaster closed 1 year ago

shepmaster commented 2 years ago

The error message generated is poor ("struct `DemoSnafu` has no field named `location`" / "the trait bound `WhatShouldHaveBeenLocation: GenerateImplicitData` is not satisfied") and it's unlikely to be a deeply used feature.

Discussed in https://github.com/shepmaster/snafu/discussions/326