From ec0356cedb28bf3fabd2aa21c99e81ee5c390d61 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 22 Jun 2025 07:48:58 -0400 Subject: [PATCH] Remove dead code expectation fixed upstream See https://github.com/rust-lang/rust/commit/c93fac7d64394c6b926d863c19. --- 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 ab1fb850..6560a9a2 100644 --- a/aya-log/src/lib.rs +++ b/aya-log/src/lib.rs @@ -75,11 +75,9 @@ use bytes::BytesMut; use log::{Log, Record, error}; use thiserror::Error; -#[expect(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); -#[expect(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);