This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
- [ Add a new method for ` Error ` : ` chain_err ` .] ( https://github.com/brson/error-chain/pull/141 )
6
6
- [ Allow ` chain_err ` to be used on ` Option<T> ` ] ( https://github.com/brson/error-chain/pull/156 )
7
7
- [ Add support for creating an error chain on boxed trait errors (` Box<Error> ` )] ( https://github.com/brson/error-chain/pull/156 )
8
+ - [ Remove lint for unused doc comment.] ( https://github.com/brson/error-chain/pull/199 )
8
9
9
10
# 0.10.0
10
11
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ macro_rules! error_chain_processed {
172
172
self . 0 . description( )
173
173
}
174
174
175
+ #[ allow( unused_doc_comment) ]
175
176
fn cause( & self ) -> Option <& :: std:: error:: Error > {
176
177
match self . 1 . next_error {
177
178
Some ( ref c) => Some ( & * * c) ,
@@ -423,6 +424,7 @@ macro_rules! impl_extract_backtrace {
423
424
( $error_name: ident
424
425
$error_kind_name: ident
425
426
$( [ $link_error_path: path, $( #[ $meta_links: meta] ) * ] ) * ) => {
427
+ #[ allow( unused_doc_comment) ]
426
428
fn extract_backtrace( e: & ( :: std:: error:: Error + Send + ' static ) )
427
429
-> Option <:: std:: sync:: Arc <$crate:: Backtrace >> {
428
430
if let Some ( e) = e. downcast_ref:: <$error_name>( ) {
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ macro_rules! quick_error {
260
260
$item: ident: $imode: tt [ $( #[ $imeta: meta] ) * ] [ $( $var: ident: $typ: ty ) ,* ] { $( $funcs: tt ) * }
261
261
) * }
262
262
) => {
263
- #[ allow( unused) ]
263
+ #[ allow( unused, unused_doc_comment ) ]
264
264
impl :: std:: fmt:: Display for $name {
265
265
fn fmt( & self , fmt: & mut :: std:: fmt:: Formatter )
266
266
-> :: std:: fmt:: Result
@@ -310,7 +310,7 @@ macro_rules! quick_error {
310
310
}
311
311
}
312
312
}*/
313
- #[ allow( unused) ]
313
+ #[ allow( unused, unused_doc_comment ) ]
314
314
impl $name {
315
315
/// A string describing the error kind.
316
316
pub fn description( & self ) -> & str {
You can’t perform that action at this time.
0 commit comments