quick-error icon indicating copy to clipboard operation
quick-error copied to clipboard

error-chain

Open Yamakaky opened this issue 9 years ago • 0 comments

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?

Yamakaky avatar Nov 21 '16 00:11 Yamakaky