Skip to content

Commit 3a56cd8

Browse files
committed
disable clippy for src/
1 parent f91bf9c commit 3a56cd8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ctest-test/src/bin/t1_cxx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(not(test))]
1+
git #![cfg(not(test))]
22

33
cfg_if::cfg_if! {
44
if #[cfg(has_cxx)] {

ctest-test/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
// src/** is mostly dummy files
2+
#![allow(clippy::style, clippy::correctness)]
3+
14
pub mod t1;
25
pub mod t2;

ctest-test/src/t1.rs

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ extern "C" {
8787
pub static T1static: c_uint;
8888
}
8989

90-
#[expect(clippy::eq_op)]
9190
pub fn foo() {
9291
assert_eq!(1, 1);
9392
}

0 commit comments

Comments
 (0)