error-chain icon indicating copy to clipboard operation
error-chain copied to clipboard

error_chain macro does not support doc strings

Open heartsucker opened this issue 8 years ago • 1 comments
trafficstars

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

heartsucker avatar Sep 08 '17 11:09 heartsucker

Duplicate of #63.

Yamakaky avatar Sep 09 '17 07:09 Yamakaky