Revert "Remove unused `allow(dead_code)`"

This reverts commit 5397c1ca4b.
pull/1006/head
Tamir Duberstein 3 months ago
parent 3d57d358e4
commit 41619933d6

@ -76,9 +76,11 @@ use bytes::BytesMut;
use log::{error, Log, Record}; use log::{error, Log, Record};
use thiserror::Error; use thiserror::Error;
#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
#[repr(transparent)] #[repr(transparent)]
struct RecordFieldWrapper(RecordField); struct RecordFieldWrapper(RecordField);
#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
#[repr(transparent)] #[repr(transparent)]
struct ArgumentWrapper(Argument); struct ArgumentWrapper(Argument);

Loading…
Cancel
Save