@@ -575,7 +575,7 @@ macro_rules! dispatch_types_inner {
575
575
impl $name {
576
576
#[ cfg( wgpu_core) ]
577
577
#[ inline]
578
- #[ allow( unused) ]
578
+ #[ allow( clippy :: allow_attributes , unused) ]
579
579
pub fn as_core( & self ) -> & <$wgpu_core_context as InterfaceTypes >:: $subtype {
580
580
match self {
581
581
Self :: Core ( value) => value,
@@ -585,7 +585,7 @@ macro_rules! dispatch_types_inner {
585
585
586
586
#[ cfg( wgpu_core) ]
587
587
#[ inline]
588
- #[ allow( unused) ]
588
+ #[ allow( clippy :: allow_attributes , unused) ]
589
589
pub fn as_core_opt( & self ) -> Option <& <$wgpu_core_context as InterfaceTypes >:: $subtype> {
590
590
match self {
591
591
Self :: Core ( value) => Some ( value) ,
@@ -595,7 +595,7 @@ macro_rules! dispatch_types_inner {
595
595
596
596
#[ cfg( webgpu) ]
597
597
#[ inline]
598
- #[ allow( unused) ]
598
+ #[ allow( clippy :: allow_attributes , unused) ]
599
599
pub fn as_webgpu( & self ) -> & <$webgpu_context as InterfaceTypes >:: $subtype {
600
600
match self {
601
601
Self :: WebGPU ( value) => value,
@@ -605,7 +605,7 @@ macro_rules! dispatch_types_inner {
605
605
606
606
#[ cfg( webgpu) ]
607
607
#[ inline]
608
- #[ allow( unused) ]
608
+ #[ allow( clippy :: allow_attributes , unused) ]
609
609
pub fn as_webgpu_opt( & self ) -> Option <& <$webgpu_context as InterfaceTypes >:: $subtype> {
610
610
match self {
611
611
Self :: WebGPU ( value) => Some ( value) ,
@@ -660,7 +660,7 @@ macro_rules! dispatch_types_inner {
660
660
impl $name {
661
661
#[ cfg( wgpu_core) ]
662
662
#[ inline]
663
- #[ allow( unused) ]
663
+ #[ allow( clippy :: allow_attributes , unused) ]
664
664
pub fn as_core( & self ) -> & <$wgpu_core_context as InterfaceTypes >:: $subtype {
665
665
match self {
666
666
Self :: Core ( value) => value,
@@ -670,7 +670,7 @@ macro_rules! dispatch_types_inner {
670
670
671
671
#[ cfg( wgpu_core) ]
672
672
#[ inline]
673
- #[ allow( unused) ]
673
+ #[ allow( clippy :: allow_attributes , unused) ]
674
674
pub fn as_core_mut( & mut self ) -> & mut <$wgpu_core_context as InterfaceTypes >:: $subtype {
675
675
match self {
676
676
Self :: Core ( value) => value,
@@ -680,7 +680,7 @@ macro_rules! dispatch_types_inner {
680
680
681
681
#[ cfg( wgpu_core) ]
682
682
#[ inline]
683
- #[ allow( unused) ]
683
+ #[ allow( clippy :: allow_attributes , unused) ]
684
684
pub fn as_core_opt( & self ) -> Option <& <$wgpu_core_context as InterfaceTypes >:: $subtype> {
685
685
match self {
686
686
Self :: Core ( value) => Some ( value) ,
@@ -690,7 +690,7 @@ macro_rules! dispatch_types_inner {
690
690
691
691
#[ cfg( wgpu_core) ]
692
692
#[ inline]
693
- #[ allow( unused) ]
693
+ #[ allow( clippy :: allow_attributes , unused) ]
694
694
pub fn as_core_mut_opt(
695
695
& mut self ,
696
696
) -> Option <& mut <$wgpu_core_context as InterfaceTypes >:: $subtype> {
@@ -702,7 +702,7 @@ macro_rules! dispatch_types_inner {
702
702
703
703
#[ cfg( webgpu) ]
704
704
#[ inline]
705
- #[ allow( unused) ]
705
+ #[ allow( clippy :: allow_attributes , unused) ]
706
706
pub fn as_webgpu( & self ) -> & <$webgpu_context as InterfaceTypes >:: $subtype {
707
707
match self {
708
708
Self :: WebGPU ( value) => value,
@@ -712,7 +712,7 @@ macro_rules! dispatch_types_inner {
712
712
713
713
#[ cfg( webgpu) ]
714
714
#[ inline]
715
- #[ allow( unused) ]
715
+ #[ allow( clippy :: allow_attributes , unused) ]
716
716
pub fn as_webgpu_mut( & mut self ) -> & mut <$webgpu_context as InterfaceTypes >:: $subtype {
717
717
match self {
718
718
Self :: WebGPU ( value) => value,
@@ -722,7 +722,7 @@ macro_rules! dispatch_types_inner {
722
722
723
723
#[ cfg( webgpu) ]
724
724
#[ inline]
725
- #[ allow( unused) ]
725
+ #[ allow( clippy :: allow_attributes , unused) ]
726
726
pub fn as_webgpu_opt( & self ) -> Option <& <$webgpu_context as InterfaceTypes >:: $subtype> {
727
727
match self {
728
728
Self :: WebGPU ( value) => Some ( value) ,
@@ -732,7 +732,7 @@ macro_rules! dispatch_types_inner {
732
732
733
733
#[ cfg( webgpu) ]
734
734
#[ inline]
735
- #[ allow( unused) ]
735
+ #[ allow( clippy :: allow_attributes , unused) ]
736
736
pub fn as_webgpu_mut_opt(
737
737
& mut self ,
738
738
) -> Option <& mut <$webgpu_context as InterfaceTypes >:: $subtype> {
0 commit comments