Browse Source

Revert "Remove unused `allow(dead_code)`"

This reverts commit 5397c1ca4b77cd27082e96aab9ab931631df7fa8.
Tamir Duberstein 7 months ago
parent
commit
41619933d6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      aya-log/src/lib.rs

+ 2 - 0
aya-log/src/lib.rs

@@ -76,9 +76,11 @@ 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);