From ac58601fb9073f4b5bfff5d1acf4df702f1889cb Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 7 Apr 2024 11:39:31 +0100 Subject: [PATCH] Revert "Disable false-positive clippy lint" This reverts commit b552c8330077c39e21c4f3d3f667078c00124560. Upstream fixed the false positive in https://github.com/rust-lang/rust-clippy/commit/62fd1d5377c0bb917761b9f. --- test/integration-test/src/tests/btf_relocations.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration-test/src/tests/btf_relocations.rs b/test/integration-test/src/tests/btf_relocations.rs index 0ae90e6e..29616850 100644 --- a/test/integration-test/src/tests/btf_relocations.rs +++ b/test/integration-test/src/tests/btf_relocations.rs @@ -1,8 +1,6 @@ use aya::{maps::Array, programs::UProbe, util::KernelVersion, Btf, EbpfLoader, Endianness}; use test_case::test_case; -// False positive, see: https://github.com/rust-lang/rust-clippy/issues/12537. -#[allow(clippy::duplicated_attributes)] #[test_case("enum_signed_32", false, Some((KernelVersion::new(6, 0, 0), "https://github.com/torvalds/linux/commit/6089fb3")), -0x7AAAAAAAi32 as u64)] #[test_case("enum_signed_32", true, Some((KernelVersion::new(6, 0, 0), "https://github.com/torvalds/linux/commit/6089fb3")), -0x7BBBBBBBi32 as u64)] #[test_case("enum_signed_32_checked_variants", false, Some((KernelVersion::new(6, 0, 0), "https://github.com/torvalds/linux/commit/6089fb3")), -0x7AAAAAAAi32 as u64)]