This repository was archived by the owner on Aug 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
warning: lint unused_doc_comment has been renamed to unused_doc_comments #245
Comments
how about this #246 |
mulkieran
added a commit
to mulkieran/devicemapper-rs
that referenced
this issue
May 31, 2018
So a problem that is actually in error-chain and not in our code can be ignored. error-chain issue: rust-lang-deprecated/error-chain#245 Signed-off-by: mulhern <[email protected]>
mulkieran
added a commit
to mulkieran/devicemapper-rs
that referenced
this issue
May 31, 2018
So a problem that is actually in error-chain and not in our code can be ignored. error-chain issue: rust-lang-deprecated/error-chain#245 Signed-off-by: mulhern <[email protected]>
@Yamakaky: This issue also happens in Rust stable starting from version 1.27.0. Please release a new version of the error_chain that removes this warning:
|
Done |
@Yamakaky the 0.12.0 tag seems to be missing in https://github.com/rust-lang-nursery/error-chain/tags |
mulkieran
added a commit
to mulkieran/devicemapper-rs
that referenced
this issue
Jul 19, 2018
We believe that the necessity has been removed by the recent error-chain update: rust-lang-deprecated/error-chain#245 Signed-off-by: mulhern <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you use the
error_chain!
macro on a recent nightly, a number of warnings are generated:(Playground)
I think, this is due to #50879.
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).The text was updated successfully, but these errors were encountered: