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 {
563
563
=> $iitem: ident ( $( ( $( $ttyp: ty ) ,+) ) * ) { $( { $( $svar: ident: $styp: ty ) ,* } ) * } ) * ]
564
564
queue [ ]
565
565
) => {
566
+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
567
+ #[ allow( unused_doc_comment) ]
566
568
$( #[ $meta] ) *
567
569
pub enum $name {
568
570
$(
@@ -577,6 +579,8 @@ macro_rules! quick_error {
577
579
=> $iitem: ident ( $( ( $( $ttyp: ty ) ,+) ) * ) { $( { $( $svar: ident: $styp: ty ) ,* } ) * } ) * ]
578
580
queue [ ]
579
581
) => {
582
+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
583
+ #[ allow( unused_doc_comment) ]
580
584
$( #[ $meta] ) *
581
585
enum $name {
582
586
$(
@@ -630,6 +634,8 @@ macro_rules! quick_error {
630
634
) * }
631
635
) => {
632
636
#[ allow( unused) ]
637
+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
638
+ #[ allow( unused_doc_comment) ]
633
639
impl :: std:: fmt:: Display for $name {
634
640
fn fmt( & self , fmt: & mut :: std:: fmt:: Formatter )
635
641
-> :: std:: fmt:: Result
@@ -651,6 +657,8 @@ macro_rules! quick_error {
651
657
}
652
658
}
653
659
#[ allow( unused) ]
660
+ #[ allow( unknown_lints) ] // no unused_doc_comments in older rust
661
+ #[ allow( unused_doc_comment) ]
654
662
impl :: std:: error:: Error for $name {
655
663
fn description( & self ) -> & str {
656
664
match * self {
You can’t perform that action at this time.
0 commit comments