From 5397c1ca4b77cd27082e96aab9ab931631df7fa8 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 18 Jul 2024 06:52:46 -0400 Subject: [PATCH] Remove unused `allow(dead_code)` See https://github.com/rust-lang/rust/commit/31fe9628cf830a08e7194a446f66c668aaea86e9. --- aya-log/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/aya-log/src/lib.rs b/aya-log/src/lib.rs index 307d12f2..dbb02d2f 100644 --- a/aya-log/src/lib.rs +++ b/aya-log/src/lib.rs @@ -76,11 +76,9 @@ use bytes::BytesMut; use log::{error, Log, Record}; use thiserror::Error; -#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed. #[derive(Copy, Clone)] #[repr(transparent)] struct RecordFieldWrapper(RecordField); -#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed. #[derive(Copy, Clone)] #[repr(transparent)] struct ArgumentWrapper(Argument);