浏览代码

Remove dead code expectation fixed upstream

See https://github.com/rust-lang/rust/commit/c93fac7d64394c6b926d863c19.
Tamir Duberstein 6 天之前
父节点
当前提交
30d5c9f53e
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      aya-log/src/lib.rs

+ 0 - 2
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);