Skip to content

Commit dafa755

Browse files
chore: warn on clippy::allow_attributes under CORE_MSRV
1 parent ba57088 commit dafa755

4 files changed

Lines changed: 9 additions & 1 deletion

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
@@ -228,6 +228,7 @@
228228
)]
229229
#![warn(
230230
clippy::alloc_instead_of_core,
231+
clippy::allow_attributes,
231232
clippy::ptr_as_ptr,
232233
clippy::std_instead_of_alloc,
233234
clippy::std_instead_of_core,

wgpu-types/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
// We don't use syntax sugar where it's not necessary.
77
clippy::match_like_matches_macro,
88
)]
9-
#![warn(clippy::ptr_as_ptr, missing_docs, unsafe_op_in_unsafe_fn)]
9+
#![warn(
10+
clippy::allow_attributes,
11+
clippy::ptr_as_ptr,
12+
missing_docs,
13+
unsafe_op_in_unsafe_fn
14+
)]
1015
#![no_std]
1116

1217
#[cfg(feature = "std")]

0 commit comments

Comments
 (0)