You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use a type which only implements Display as context for an Error. But then you cant take that Error and downcast it to that type. The downcast<E>, downcast_ref<E>, downcast_mut<E> and is<E> have a requirement that E: Debug but I dont see a reason why it would be needed.
You can use a type which only implements Display as context for an Error. But then you cant take that Error and downcast it to that type. The downcast<E>, downcast_ref<E>, downcast_mut<E> and is<E> have a requirement that E: Debug but I dont see a reason why it would be needed.
Here is an example:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f862ec4d05048736f45741370f192680
The text was updated successfully, but these errors were encountered: