Comments (12)
It does for me...
from error-chain.
Clarification:
- cargo 0.13.0-nightly
- rustc 1.13.0
- error-chain 0.5.0
Error:
error: no rules expected the token `;`
--> src/main.rs:14:26
|
14 | error::Error, Lib;
| ^
error: Could not compile `tmp`.
from error-chain.
Same problems arise if I use apply a patch adding the types section to 090460a9aee6db2e055930e0548e21b226319a81 of https://github.com/cobalt-org/cobalt.rs:
error: no rules expected the token `;`
--> src/error.rs:9:33
|
9 | Error, ErrorKind, Result;
| ^
error: Could not compile `cobalt-bin`.
from error-chain.
Could you try with master
?
from error-chain.
master
builds.
from error-chain.
Well, problem solved ^^
from error-chain.
Is there an ETA for the next release? Using git in a project feels so wrong.…
from error-chain.
I know, I was waiting for a PR to be merged, but I think I'll do one now. I have to wait for @brson to do it, though...
from error-chain.
I think I'll do one now
That would be really awesome.
from error-chain.
Done!
from error-chain.
Thanks! Working perfectly fine.
from error-chain.
Cool! If you have some time, you can help me update the doc and adding more examples ;)
from error-chain.
Related Issues (20)
- If this crate is really drepecate, I should specify it and mark alternatives. HOT 8
- cargo publish error HOT 3
- deprecate quick_main?
- trait objects without an explicit `dyn` are deprecated
- changes to backtrace crate HOT 1
- Shouldn't src/bin/has_backtrace.rs be in examples? HOT 1
- How to implement complex display expression?
- backtrace name collision HOT 1
- use of deprecated try
- minimum version 1.13 for ? operator HOT 1
- How to force documentation when using error_chain HOT 5
- Move Repository To rust-lang
- lint error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() HOT 2
- Rust 2018 macro export pain HOT 3
- gcc error while testing HOT 3
- Release 0.12.2? HOT 8
- Chaining errors from spawned threads.
- Use feature specific links in error_chain! macro
- Add a feature gate to call DebugBreak on construction
- no rules expected this token in macro call HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from error-chain.