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

error_chain macro does not support doc strings #218

Open
heartsucker opened this issue Sep 8, 2017 · 1 comment
Open

error_chain macro does not support doc strings #218

heartsucker opened this issue Sep 8, 2017 · 1 comment

Comments

@heartsucker
Copy link

This makes using #![deny(missing_docs)] impossible at the crate level.

error: no rules expected the token `;`
  --> src/error.rs:12:1
   |
12 | / error_chain! {
13 | |     foreign_links {
14 | |         /// Foo bar baz
15 | |         ChronoParse(chrono::ParseError);
...  |
48 | |     }
49 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate
@Yamakaky
Copy link
Contributor

Yamakaky commented Sep 9, 2017

Duplicate of #63.

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

No branches or pull requests

2 participants