You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
If you use the error_chain! macro on a recent nightly, a number of warnings are generated:
warning: lint unused_doc_comment has been renamed to unused_doc_comments
--> src/main.rs:4:1
|
4 | / error_chain! {
5 | | foreign_links {
6 | | IoError(::std::io::Error);
7 | | }
8 | | }
| |_^
|
= note: #[warn(renamed_and_removed_lints)] on by default
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
I'm not sure how to correctly fix this, since just replacing #[allow(unused_doc_comment)] with #[allow(unused_doc_comments)] will not work on older compilers (including current stable).
hoodie, jamesray1, bjgill, adamreichold, afck and 4 more