@@ -617,6 +617,7 @@ mod generic_lifetime_async {
617617 home_planet : & ' p str ,
618618 }
619619
620+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
620621 #[ graphql_object]
621622 impl < ' p > Human < ' p , i32 > {
622623 async fn id ( & self ) -> i32 {
@@ -628,6 +629,7 @@ mod generic_lifetime_async {
628629 }
629630 }
630631
632+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
631633 #[ graphql_object( name = "HumanString" ) ]
632634 impl < ' id , ' p > Human < ' p , & ' id str > {
633635 async fn id ( & self ) -> & str {
@@ -724,6 +726,7 @@ mod nested_generic_lifetime_async {
724726 primary_function : & ' p str ,
725727 }
726728
729+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
727730 #[ graphql_object]
728731 impl < ' p > Droid < ' p , i32 > {
729732 async fn id ( & self ) -> i32 {
@@ -735,6 +738,7 @@ mod nested_generic_lifetime_async {
735738 }
736739 }
737740
741+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
738742 #[ graphql_object( name = "DroidString" ) ]
739743 impl < ' id , ' p > Droid < ' p , & ' id str > {
740744 async fn id ( & self ) -> & str {
@@ -751,6 +755,7 @@ mod nested_generic_lifetime_async {
751755 home_planet : & ' p str ,
752756 }
753757
758+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
754759 #[ graphql_object]
755760 impl < ' p > Human < ' p , i32 > {
756761 async fn id ( & self ) -> i32 {
@@ -769,6 +774,7 @@ mod nested_generic_lifetime_async {
769774 }
770775 }
771776
777+ #[ allow( clippy:: needless_lifetimes) ] // required by codegen
772778 #[ graphql_object( name = "HumanString" ) ]
773779 impl < ' id , ' p > Human < ' p , & ' id str > {
774780 async fn id ( & self ) -> & str {
0 commit comments