New crate: context-attribute. Set error contexts using doc comments. https://github.com/yoshuawuyts/context-attribute …pic.twitter.com/bgKMiFThKd
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
I'm afraid the rust eco-system will end up with way too many attributes. I personally like the explicit `context` tag approach, because it's short, and in case of each fallible invocation has to return the same context, I think that's a candidate to be abstracted into a function
Oh yeah, if anything this is an exploration of how this works feels.
If the answer is "this feels great, but repeating the attribute everywhere isn't great" then that's a decent signal to look for ways to streamline it more.
Experiments 

This is a nice little thing. I need to add error handling to a library next and maybe I’ll try if that helps
For sure! Would love to hear how it works out for you!
Super neat idea.
^^ glad you like it!
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.