Skip to content

error-chain #34

Open
Open
@Yamakaky

Description

@Yamakaky

Currently, error-chain uses quick-error by just copying the file to src/quick_error.rs, with #30 applied and removal of the Error implementation. That's not ideal since we have to copy the file and make the changes instead of just updating Cargo.toml. Solutions I see:

  • Don't change anything.
  • Use macro_reexport: nightly only, not in path for stabilisation.
  • Add quick-error as a git sub-module and make a symbolic link. $crate could work if I reexport the few items you define in the crate... except that I also define a ResultExt ^^

And there is still the issue with Error.

Any thought about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions