File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,8 @@ macro_rules! quick_error {
563563 => $iitem: ident ( $( ( $( $ttyp: ty ) ,+) ) * ) { $( { $( $svar: ident: $styp: ty ) ,* } ) * } ) * ]
564564 queue [ ]
565565 ) => {
566+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
567+ #[ allow( unused_doc_comment) ]
566568 $( #[ $meta] ) *
567569 pub enum $name {
568570 $(
@@ -577,6 +579,8 @@ macro_rules! quick_error {
577579 => $iitem: ident ( $( ( $( $ttyp: ty ) ,+) ) * ) { $( { $( $svar: ident: $styp: ty ) ,* } ) * } ) * ]
578580 queue [ ]
579581 ) => {
582+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
583+ #[ allow( unused_doc_comment) ]
580584 $( #[ $meta] ) *
581585 enum $name {
582586 $(
@@ -630,6 +634,8 @@ macro_rules! quick_error {
630634 ) * }
631635 ) => {
632636 #[ allow( unused) ]
637+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
638+ #[ allow( unused_doc_comment) ]
633639 impl :: std:: fmt:: Display for $name {
634640 fn fmt( & self , fmt: & mut :: std:: fmt:: Formatter )
635641 -> :: std:: fmt:: Result
@@ -651,6 +657,8 @@ macro_rules! quick_error {
651657 }
652658 }
653659 #[ allow( unused) ]
660+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
661+ #[ allow( unused_doc_comment) ]
654662 impl :: std:: error:: Error for $name {
655663 fn description( & self ) -> & str {
656664 match * self {
You can’t perform that action at this time.
0 commit comments