GithubHelp home page GithubHelp logo

Comments (7)

joshtriplett avatar joshtriplett commented on July 25, 2024

Currently working on a patch for this.

from error-chain.

Yamakaky avatar Yamakaky commented on July 25, 2024

Cool!

from error-chain.

joshtriplett avatar joshtriplett commented on July 25, 2024

Mostly there; ran into what seems like a bug in #[derive(Debug)] in Rust 1.10. Trying to debug Debug.

See https://is.gd/yDJ60j for a test case.

from error-chain.

joshtriplett avatar joshtriplett commented on July 25, 2024

I think I ran into rust-lang/rust#22250 , fixed in Rust 1.11.

from error-chain.

joshtriplett avatar joshtriplett commented on July 25, 2024

#103 fixes this enough for some use cases. I don't see any obvious way to get backtrace working without statement blocks, and I don't want to add a pile of conditionals to make a subset of the tests work (avoiding all tests that use #[cfg(...)] on variants within error_chain!), but the crate itself works perfectly with #103.

I submitted the work in progress to make the tests and examples work as #104 for reference, just so that work doesn't get lost if anyone else wants to try it.

from error-chain.

joshtriplett avatar joshtriplett commented on July 25, 2024

Thanks for all the quick responses on #103.

from error-chain.

Yamakaky avatar Yamakaky commented on July 25, 2024

0.7.2 released.

from error-chain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.