Skip to content

Commit 05330ec

Browse files
chore: warn on clippy::allow_attributes under CORE_MSRV
1 parent 517e50a commit 05330ec

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

naga/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ void main() {
8383
trivial_numeric_casts,
8484
unused_extern_crates,
8585
unused_qualifications,
86+
clippy::allow_attributes,
8687
clippy::pattern_type_mismatch,
8788
clippy::missing_const_for_fn,
8889
clippy::rest_pat_in_fully_bound_structs,

wgpu-core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
clippy::result_large_err
4242
)]
4343
#![warn(
44+
clippy::allow_attributes,
4445
clippy::alloc_instead_of_core,
4546
clippy::ptr_as_ptr,
4647
clippy::std_instead_of_alloc,

wgpu-hal/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
)]
231231
#![warn(
232232
clippy::alloc_instead_of_core,
233+
clippy::allow_attributes,
233234
clippy::ptr_as_ptr,
234235
clippy::std_instead_of_alloc,
235236
clippy::std_instead_of_core,

wgpu-types/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
clippy::match_like_matches_macro,
88
)]
99
#![warn(
10+
clippy::allow_attributes,
1011
clippy::ptr_as_ptr,
1112
missing_docs,
1213
unsafe_op_in_unsafe_fn,

0 commit comments

Comments
 (0)