-
Notifications
You must be signed in to change notification settings - Fork 111
Clonable errors #121
Comments
Hum, we have the same thing for Sync, Eq... Maybe allow the user to declare the exact types he wants? What do you think? |
Yes, that sounds useful. |
Idea about the syntax changes? Maybe adding a new block type like |
My first thought would be allowing an actual |
I starting looking about how to make the change. There is two troubles:
trait Trait: Debug + Sync + Clone {}
impl<T: Debug + Sync + Clone> Trait for T {} What do you think? |
Apparently, |
I discovered the |
Closing for #134 |
I have an application where it would be handy to be able to clone the
Error
type declared byerror_chain!()
. Is there (or could there be) a way to add a#[derive(Clone)]
?The text was updated successfully, but these errors were encountered: