Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow deriving traits on the Error #134

Open
Yamakaky opened this Issue Feb 21, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@Yamakaky
Copy link
Collaborator

Yamakaky commented Feb 21, 2017

Possible syntax:

error_chain! {
  derive { Eq, PartialEq }
  ...
}

We may have to add a trait which the chained errors would have to implement.

anowell added a commit to anowell/algorithmia-rust that referenced this issue Apr 5, 2017

Downgrade error-crate to get Sync bound
Needing a `Sync` bound, so we're downgrading
  temporarily to get it while keeping an eye on:
  rust-lang-nursery/error-chain#134
@TedDriggs

This comment has been minimized.

Copy link
Contributor

TedDriggs commented Apr 7, 2017

Should this be done as "attrs" or something that would also allow passing attributes for proc macro crates like serde_derive?

@kpcyrd

This comment has been minimized.

Copy link

kpcyrd commented Nov 29, 2017

Any news? Ran into this problem while I was trying to use pseudo :)

@ivanovaleksey

This comment has been minimized.

Copy link

ivanovaleksey commented Mar 5, 2018

Hello, are there any updates in this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.