Skip to content

Commit 52356fe

Browse files
chore: warn on clippy::allow_attributes under CORE_MSRV
1 parent 702c4ef commit 52356fe

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
@@ -82,6 +82,7 @@ void main() {
8282
trivial_numeric_casts,
8383
unused_extern_crates,
8484
unused_qualifications,
85+
clippy::allow_attributes,
8586
clippy::pattern_type_mismatch,
8687
clippy::missing_const_for_fn,
8788
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
@@ -39,6 +39,7 @@
3939
rustdoc::private_intra_doc_links,
4040
)]
4141
#![warn(
42+
clippy::allow_attributes,
4243
clippy::alloc_instead_of_core,
4344
clippy::ptr_as_ptr,
4445
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)