Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

error in links section #65

Closed
benaryorg opened this issue Nov 19, 2016 · 12 comments
Closed

error in links section #65

benaryorg opened this issue Nov 19, 2016 · 12 comments

Comments

@benaryorg
Copy link
Contributor

Here is a minimal example, the real example is a bit larger.

Shouldn't this work?

@Yamakaky
Copy link
Contributor

It does for me...

@benaryorg
Copy link
Contributor Author

benaryorg commented Nov 20, 2016

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`.

@benaryorg
Copy link
Contributor Author

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`.

@Yamakaky
Copy link
Contributor

Could you try with master?

@benaryorg
Copy link
Contributor Author

master builds.

@Yamakaky
Copy link
Contributor

Well, problem solved ^^

@benaryorg
Copy link
Contributor Author

Is there an ETA for the next release? Using git in a project feels so wrong.…

benaryorg added a commit to benaryorg/cobalt.rs that referenced this issue Nov 20, 2016
for further info see rust-lang-deprecated/error-chain#65

Signed-off-by: benaryorg <binary@benary.org>
@Yamakaky
Copy link
Contributor

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...

@benaryorg
Copy link
Contributor Author

I think I'll do one now

That would be really awesome.

@Yamakaky
Copy link
Contributor

Done!

@benaryorg
Copy link
Contributor Author

Thanks! Working perfectly fine.

@Yamakaky
Copy link
Contributor

Cool! If you have some time, you can help me update the doc and adding more examples ;)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants