Giter Club home page Giter Club logo

Comments (6)

benaryorg avatar benaryorg commented on June 3, 2024

I don't know what's happening here, but I am using error-chain on stable Rust and it seemed to work flawlessly.

from error-chain.

benaryorg avatar benaryorg commented on June 3, 2024

I just checked and error-chain builds (and works) with that:

cargo 0.11.0-nightly (259324c 2016-05-20)
rustc 1.10.0 (cfcb716cf 2016-07-03)

Output of cargo:

   Compiling error-chain v0.2.2
     Running `rustc /home/benaryorg/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.2.2/src/lib.rs --crate-name error_chain --crate-type lib -g -C metadata=08db5cd4c8eb6242 -C extra-filename=-08db5cd4c8eb6242 --out-dir /home/benaryorg/Documents/project/target/debug/deps --emit=dep-info,link -L dependency=/home/benaryorg/Documents/project/target/debug/deps -L dependency=/home/benaryorg/Documents/project/target/debug/deps --extern backtrace=/home/benaryorg/Documents/project/target/debug/deps/libbacktrace-dffaf784d6265843.rlib --cap-lints allow`

(only relevant output displayed)

from error-chain.

brson avatar brson commented on June 3, 2024

Oh, nice. Thanks for testing @benaryorg.

from error-chain.

benaryorg avatar benaryorg commented on June 3, 2024

Also, I've retested with version 0.2.2 and still the same result, a seamless build without any error/mistake.

Edit: Original response updated

from error-chain.

birkenfeld avatar birkenfeld commented on June 3, 2024

The problem is with using error_chain inside a function, as in the smoke tests.

It is "easily" (once you figure it out) fixed by appending a semicolon. PR incoming.

from error-chain.

brson avatar brson commented on June 3, 2024

Thanks @birkenfeld !

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.