@@ -572,7 +572,7 @@ macro_rules! dispatch_types_inner {
572
572
impl $name {
573
573
#[ cfg( wgpu_core) ]
574
574
#[ inline]
575
- #[ allow( unused) ]
575
+ #[ allow( clippy :: allow_attributes , unused) ]
576
576
pub fn as_core( & self ) -> & <$wgpu_core_context as InterfaceTypes >:: $subtype {
577
577
match self {
578
578
Self :: Core ( value) => value,
@@ -582,7 +582,7 @@ macro_rules! dispatch_types_inner {
582
582
583
583
#[ cfg( wgpu_core) ]
584
584
#[ inline]
585
- #[ allow( unused) ]
585
+ #[ allow( clippy :: allow_attributes , unused) ]
586
586
pub fn as_core_opt( & self ) -> Option <& <$wgpu_core_context as InterfaceTypes >:: $subtype> {
587
587
match self {
588
588
Self :: Core ( value) => Some ( value) ,
@@ -592,7 +592,7 @@ macro_rules! dispatch_types_inner {
592
592
593
593
#[ cfg( webgpu) ]
594
594
#[ inline]
595
- #[ allow( unused) ]
595
+ #[ allow( clippy :: allow_attributes , unused) ]
596
596
pub fn as_webgpu( & self ) -> & <$webgpu_context as InterfaceTypes >:: $subtype {
597
597
match self {
598
598
Self :: WebGPU ( value) => value,
@@ -602,7 +602,7 @@ macro_rules! dispatch_types_inner {
602
602
603
603
#[ cfg( webgpu) ]
604
604
#[ inline]
605
- #[ allow( unused) ]
605
+ #[ allow( clippy :: allow_attributes , unused) ]
606
606
pub fn as_webgpu_opt( & self ) -> Option <& <$webgpu_context as InterfaceTypes >:: $subtype> {
607
607
match self {
608
608
Self :: WebGPU ( value) => Some ( value) ,
@@ -657,7 +657,7 @@ macro_rules! dispatch_types_inner {
657
657
impl $name {
658
658
#[ cfg( wgpu_core) ]
659
659
#[ inline]
660
- #[ allow( unused) ]
660
+ #[ allow( clippy :: allow_attributes , unused) ]
661
661
pub fn as_core( & self ) -> & <$wgpu_core_context as InterfaceTypes >:: $subtype {
662
662
match self {
663
663
Self :: Core ( value) => value,
@@ -667,7 +667,7 @@ macro_rules! dispatch_types_inner {
667
667
668
668
#[ cfg( wgpu_core) ]
669
669
#[ inline]
670
- #[ allow( unused) ]
670
+ #[ allow( clippy :: allow_attributes , unused) ]
671
671
pub fn as_core_mut( & mut self ) -> & mut <$wgpu_core_context as InterfaceTypes >:: $subtype {
672
672
match self {
673
673
Self :: Core ( value) => value,
@@ -677,7 +677,7 @@ macro_rules! dispatch_types_inner {
677
677
678
678
#[ cfg( wgpu_core) ]
679
679
#[ inline]
680
- #[ allow( unused) ]
680
+ #[ allow( clippy :: allow_attributes , unused) ]
681
681
pub fn as_core_opt( & self ) -> Option <& <$wgpu_core_context as InterfaceTypes >:: $subtype> {
682
682
match self {
683
683
Self :: Core ( value) => Some ( value) ,
@@ -687,7 +687,7 @@ macro_rules! dispatch_types_inner {
687
687
688
688
#[ cfg( wgpu_core) ]
689
689
#[ inline]
690
- #[ allow( unused) ]
690
+ #[ allow( clippy :: allow_attributes , unused) ]
691
691
pub fn as_core_mut_opt(
692
692
& mut self ,
693
693
) -> Option <& mut <$wgpu_core_context as InterfaceTypes >:: $subtype> {
@@ -699,7 +699,7 @@ macro_rules! dispatch_types_inner {
699
699
700
700
#[ cfg( webgpu) ]
701
701
#[ inline]
702
- #[ allow( unused) ]
702
+ #[ allow( clippy :: allow_attributes , unused) ]
703
703
pub fn as_webgpu( & self ) -> & <$webgpu_context as InterfaceTypes >:: $subtype {
704
704
match self {
705
705
Self :: WebGPU ( value) => value,
@@ -709,7 +709,7 @@ macro_rules! dispatch_types_inner {
709
709
710
710
#[ cfg( webgpu) ]
711
711
#[ inline]
712
- #[ allow( unused) ]
712
+ #[ allow( clippy :: allow_attributes , unused) ]
713
713
pub fn as_webgpu_mut( & mut self ) -> & mut <$webgpu_context as InterfaceTypes >:: $subtype {
714
714
match self {
715
715
Self :: WebGPU ( value) => value,
@@ -719,7 +719,7 @@ macro_rules! dispatch_types_inner {
719
719
720
720
#[ cfg( webgpu) ]
721
721
#[ inline]
722
- #[ allow( unused) ]
722
+ #[ allow( clippy :: allow_attributes , unused) ]
723
723
pub fn as_webgpu_opt( & self ) -> Option <& <$webgpu_context as InterfaceTypes >:: $subtype> {
724
724
match self {
725
725
Self :: WebGPU ( value) => Some ( value) ,
@@ -729,7 +729,7 @@ macro_rules! dispatch_types_inner {
729
729
730
730
#[ cfg( webgpu) ]
731
731
#[ inline]
732
- #[ allow( unused) ]
732
+ #[ allow( clippy :: allow_attributes , unused) ]
733
733
pub fn as_webgpu_mut_opt(
734
734
& mut self ,
735
735
) -> Option <& mut <$webgpu_context as InterfaceTypes >:: $subtype> {
0 commit comments